test/test_compiler.rb in golf-0.5.0 vs test/test_compiler.rb in golf-0.5.2
- old
+ new
@@ -28,14 +28,14 @@
def test_componentsjs_generation
a = @reference.components
b = JSON.parse @compiler.component_json
assert_equal a.keys.sort,b.keys.sort
assert_equal a,b
- puts a["HelloWorld"]["html"]
- puts b["HelloWorld"]["html"]
- a.keys.each do |key|
- puts "#{key} should be #{a[key].hash}, but was #{b[key].hash}"
- end
+ #puts a["HelloWorld"]["html"]
+ #puts b["HelloWorld"]["html"]
+ #a.keys.each do |key|
+ # puts "#{key} should be #{a[key].hash}, but was #{b[key].hash}"
+ #end
end
def test_res_generation
a = @reference.res
b = JSON.parse @compiler.res_json