/** * Remove new lines and tabs * @author Anthony Short * @test */ public function Remove_new_lines_and_tabs() { $string = "\n\r#id {\nbackground:\t\tblue;\n}\n\n"; $expected = "#id {background:blue;}"; $output = Scaffold_Helper_CSS::remove_newlines($string); $this->assertEquals($output, $expected); }