Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Commit

Permalink
Tests for whitespace around document skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
deathbeam committed Apr 25, 2016
1 parent a967943 commit de12dba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,10 @@
it { should parse "1e10" }
it { should_not parse "a2" }
end

context "root" do
subject { parser.root }

it { should parse "# foo\n print bar\n # baz " }
end
end

0 comments on commit de12dba

Please sign in to comment.