fix Environment#dump when construction variables are Symbols
This commit is contained in:
1 parent
dcf90cc12b
commit
99ba015630
2 files changed
+6
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user