test/all.rb in hypertext-0.0.3 vs test/all.rb in hypertext-0.0.4
- old
+ new
@@ -1,5 +1,14 @@
scope "Hypertext" do
+ test "append" do
+ expected = "hello → world\n"
+
+ ht = Hypertext.new
+ ht.append "hello → world"
+
+ assert_equal expected, ht.to_s
+ end
+
test "text" do
expected = "hello world\n"
ht = Hypertext.new
ht.text "hello world"