diff --git a/test/language/statements/do-while/decl-fun.js b/test/language/statements/do-while/decl-fun.js index 6f0f6c9650..cd6de4c185 100644 --- a/test/language/statements/do-while/decl-fun.js +++ b/test/language/statements/do-while/decl-fun.js @@ -1,7 +1,7 @@ // Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- -description: Class declaration not allowed in statement position +description: Function declaration not allowed in statement position esid: sec-do-while-statement es6id: 13.7.2 negative: