From 440d38d3bce3b979953bd0423a579ebf26889a5f Mon Sep 17 00:00:00 2001 From: Gabriel Goncalves Date: Wed, 4 Oct 2017 12:06:25 -0300 Subject: [PATCH] Creating test to Language\Token --- tests/Language/TokenTest.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/Language/TokenTest.php diff --git a/tests/Language/TokenTest.php b/tests/Language/TokenTest.php new file mode 100644 index 0000000..f93a717 --- /dev/null +++ b/tests/Language/TokenTest.php @@ -0,0 +1,20 @@ + 'Kind', + 'value' => null, + 'line' => 3, + 'column' => 5 + ]; + + $this->assertEquals($expected, $token->toArray()); + } +}