Skip to content

Commit

Permalink
Add second failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmagic committed Apr 23, 2018
1 parent b023c9b commit 294ab7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/dotenv/parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ def env(string)
expect(env("# HELLO=world\n")).to eql({})
end

it "ignores comment" do
expect(env("# Uncomment to activate:\n")).to eql({})
end

it "parses # in quoted values" do
expect(env('foo="ba#r"')).to eql("foo" => "ba#r")
expect(env("foo='ba#r'")).to eql("foo" => "ba#r")
Expand Down

0 comments on commit 294ab7b

Please sign in to comment.