fix Environment#dump when construction variables are Symbols

This commit is contained in:
josh committed 2014-10-22 14:30:14 -04:00
1 parent dcf90cc12b
commit 99ba015630
2 files changed
+6 -2

No files matched your search

+2
View File
@@ -725,9 +725,11 @@ EOF
test_dir("simple")
env = Rscons::Environment.new do |env|
env["CFLAGS"] += %w[-O2 -fomit-frame-pointer]
env[:foo] = :bar
end
env.dump
result = lines
expect(result.include?(%{:foo => :bar})).to be_truthy
expect(result.include?(%{CFLAGS => ["-O2", "-fomit-frame-pointer"]})).to be_truthy
expect(result.include?(%{CPPPATH => []})).to be_truthy
end