diff --git a/tests/Languages/Base/Injections/CustomClassInjectionTest.php b/tests/Languages/Base/Injections/CustomClassInjectionTest.php index f9f6afb..9dee7e6 100644 --- a/tests/Languages/Base/Injections/CustomClassInjectionTest.php +++ b/tests/Languages/Base/Injections/CustomClassInjectionTest.php @@ -12,12 +12,12 @@ class CustomClassInjectionTest extends TestCase { public function test_custom_class_injection() { - $content = <<parse($content, new Highlighter()); @@ -30,8 +30,8 @@ public function test_custom_class_injection() $this->assertSame(5, $parsed->tokens[1]->start); $this->assertSame(8, $parsed->tokens[1]->end); $this->assertSame('hl-type', $parsed->tokens[1]->type->getValue()); - $this->assertSame(12, $parsed->tokens[2]->start); - $this->assertSame(18, $parsed->tokens[2]->end); + $this->assertSame(18, $parsed->tokens[2]->start); + $this->assertSame(24, $parsed->tokens[2]->end); $this->assertSame('hl-type', $parsed->tokens[2]->type->getValue()); } }