rem: assertEquals('$sel->open("http: 
add: assertEquals('$sel->open_ok("http: 
context: function testPerlRCFormat() {	var format = this.formats.findFormat("perl-rc");	var f = format.getFormatter();	assertEquals('$sel->is_text_present_ok("hello");', f.formatCommand(new Command('assertTextPresent', 'hello')));	assertEquals('ok(not $sel->is_text_present("hello"));', f.formatCommand(new Command('assertTextNotPresent', 'hello')));	assertEquals('$abc = $sel->is_text_present("test");', f.formatCommand(new Command('storeTextPresent', 'test', 'abc')));	assertEquals('sleep 1 until $sel->is_text_present("test");', f.formatCommand(new Command('waitForTextPresent', 'test')));	assertEquals('sleep 1 while $sel->is_text_present("test");', f.formatCommand(new Command('waitForTextNotPresent', 'test')));	assertEquals('$sel->text_is("abc[\\@id=\'\\$\'\]", "def");', f.formatCommand(new Command('assertText', 'abc[@id=\'$\']', 'def')));	assertEquals('$sel->location_is("abc");', f.formatCommand(new Command('assertLocation', 'abc')));	assertEquals('$sel->location_isnt("abc");', f.formatCommand(new Command('assertNotLocation', 'abc')));	assertEquals('$def = $sel->get_text("abc");', f.formatCommand(new Command('storeText', 'abc', 'def')));	assertEquals('sleep 1 until "def" eq $sel->get_text("abc");', f.formatCommand(new Command('waitForText', 'abc', 'def')));	assertEquals('sleep 1 while "def" eq $sel->get_text("abc");', f.formatCommand(new Command('waitForNotText', 'abc', 'def')));	assertEquals('$sel->open("http://www.google.com/");', f.formatCommand(new Command('open', 'http://www.google.com/')));}
meta: 3175	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3175/fe1372a65edb0f9de4e2c39835ef3104503a1322/format-tests.js/buggy/src/content/tests/unit/format-tests.js