Index: test/mjsunit/harmony/generators-objects.js |
diff --git a/test/mjsunit/harmony/generators-objects.js b/test/mjsunit/harmony/generators-objects.js |
index b717c303c8710b18b91221a2e361adb9de965b25..bb29bed008ff9a775a9d9a86e299f97581edbfe0 100644 |
--- a/test/mjsunit/harmony/generators-objects.js |
+++ b/test/mjsunit/harmony/generators-objects.js |
@@ -79,7 +79,7 @@ function TestGeneratorObjectMethods() { |
function TestNonGenerator(non_generator) { |
assertThrows(function() { iter.next.call(non_generator); }, TypeError); |
- assertThrows(function() { iter.send.call(non_generator, 1); }, TypeError); |
+ assertThrows(function() { iter.next.call(non_generator, 1); }, TypeError); |
assertThrows(function() { iter.throw.call(non_generator, 1); }, TypeError); |
assertThrows(function() { iter.close.call(non_generator); }, TypeError); |
} |