File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1212
1313class 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
You canβt perform that action at this time.
0 commit comments