test/test_formatter.rb in stars-0.1.1 vs test/test_formatter.rb in stars-0.2.0

- old
+ new

@@ -17,12 +17,12 @@ assert_equal @formatter.trim(tweet), 'This is a tweet that is long enough to certainly ne...' end def test_format - format = @formatter.format(favstar_tweet_hash[0]) - assert_equal format.size, 3 - assert_equal format[0], '* *' + format = @formatter.format(1,favstar_tweet_hash[0]) + assert_equal format.size, 4 + assert_equal 1,format[0], '* *' end def test_split_stars tweet = "12 stars: A short tweet. Hey, a number: 5." assert_equal @formatter.split_stars(tweet), \ No newline at end of file