def testRemovingLineFeeds(self): input = """ function a() { var x = 1; } """ output = minifyme.remove_line_feeds(input) self.assertEqual(0, output.count('\n'))
def test_removing_line_feeds(self): input = r''' function a() { var x = 1; var y = "\n" } ''' output = minifyme.remove_line_feeds(input) self.assertEqual(0, output.count('\n'))