test/console.rb in console-0.2 vs test/console.rb in console-0.2.1

- old
+ new

@@ -117,6 +117,10 @@ def test_display_width_fails_on_nonstrings assert_raises(TypeError) { Console.display_width :potato } assert_raises(TypeError) { Console.display_width 3 } end + + def test_display_width_of_a_big_crazy_string + assert_equal 154, Console.display_width("我能吞下玻璃而不傷身體。Góa ē-tàng chia̍h po-lê, mā bē tio̍h-siong.私はガラスを食べられます。それは私を傷つけません。I can eat glass and it doesn't hurt me.") + end end