Skip to content

Commit d352686

Browse files
committed
Cleanup
1 parent 76b1369 commit d352686

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9-
## [0.1.0] - 2020-10-09
9+
## [0.1.0] - 2021-11-16
1010

1111
### Added
1212

1313
- πŸŽ‰ Initial release! πŸŽ‰
1414

1515
[unreleased]: https://github.com/kddnewton/syntax_tree/compare/v0.1.0...HEAD
16-
[0.1.0]: https://github.com/kddnewton/syntax_tree/compare/39c5a7...v0.1.0
16+
[0.1.0]: https://github.com/kddnewton/syntax_tree/compare/8aa1f5...v0.1.0

β€Žtest/syntax_tree_test.rbβ€Ž

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
class SyntaxTree
1414
class SyntaxTreeTest < Minitest::Test
15+
# --------------------------------------------------------------------------
16+
# Tests for behavior
17+
# --------------------------------------------------------------------------
18+
1519
def test_multibyte
1620
assign = SyntaxTree.new('πŸŽ‰ + πŸŽ‰').parse.statements.body.first
1721
assert_equal(5, assign.location.end_char)
@@ -36,6 +40,10 @@ def test_version
3640
refute_nil(VERSION)
3741
end
3842

43+
# --------------------------------------------------------------------------
44+
# Tests for nodes
45+
# --------------------------------------------------------------------------
46+
3947
def test_BEGIN
4048
assert_node(BEGINBlock, 'BEGIN', 'BEGIN {}')
4149
end

0 commit comments

Comments
Β (0)