./test/dolt/view/tab_width_test.rb in dolt-0.2.2 vs ./test/dolt/view/tab_width_test.rb in dolt-0.3.0
- old
+ new
@@ -30,10 +30,10 @@
assert_match(/ attr_reader/, html)
end
it "uses wide tabs in formatted blobs" do
Dolt::View::TabWidth.tab_width = 12
- html = format_blob("file.rb", "class File\n\tattr_reader :path\nend")
+ html = format_text_blob("file.rb", "class File\n\tattr_reader :path\nend")
assert_match(/ attr_reader/, html)
end
end
end