add: assertEquals('assert /ab[cd]/ !~ @selenium.get_text("test")', nextCommand()); 
context: function testRubyRCFormat() {	var format = this.formats.findFormat("ruby-rc");	var f = format.getFormatter();	this.formatter = f;	assertEquals('assert @selenium.is_text_present("hello")', nextCommand());	assertEquals('assert !@selenium.is_text_present("hello")', nextCommand());	assertEquals('abc = @selenium.is_text_present("test")', nextCommand());	assertEquals('assert !60.times{ break if (@selenium.is_text_present("test") rescue false); sleep 1 }', nextCommand());	assertEquals('assert !60.times{ break unless (@selenium.is_text_present("test") rescue true); sleep 1 }', nextCommand());	assertEquals('assert_equal "def", @selenium.get_text("abc")', nextCommand());	assertEquals('assert_equal "abc", @selenium.get_location', nextCommand());	assertEquals('assert_not_equal "abc", @selenium.get_location', nextCommand());	assertEquals('@selenium.type "theText", @selenium.get_eval("\'abc\'")', nextCommand());	assertEquals('assert_equal ["", "abc", "ab,c"], @selenium.get_select_options("theSelect")', nextCommand());	assertEquals('assert_not_equal "abc", @selenium.get_location', nextCommand());	assertEquals('def = @selenium.get_text("abc")', nextCommand());	assertEquals('assert !60.times{ break if ("def" == @selenium.get_text("abc") rescue false); sleep 1 }', nextCommand());	assertEquals('assert !60.times{ break unless (/foo.*/ =~ @selenium.get_value("abc") rescue true); sleep 1 }', nextCommand());	assertEquals('assert !60.times{ break unless ("def" == @selenium.get_text("abc") rescue true); sleep 1 }', nextCommand());	assertEquals('@selenium.open "http://www.google.com/"', nextCommand());	assertEquals('@selenium.wait_for_page_to_load "30000"', nextCommand());	assertEquals('sleep 1', nextCommand());	assertEquals("# line 1\n# line 2", f.formatComment(this.commands.shift()));}
meta: 3175	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3175/9c787c7e6c12c5505c234cea90865fbee0d58139/format-tests.js/buggy/src/content/tests/unit/format-tests.js