Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Deleted a test that is no longer relevant.
Browse files Browse the repository at this point in the history
In v8 4.4, this error apparently comes with line numbers.
  • Loading branch information
jacobsa committed Jul 28, 2015
1 parent 886fdde commit d1810fd
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions gjstest/internal/cpp/v8_utils_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -258,19 +258,6 @@ TEST_F(DescribeErrorTest, WithMessage) {
EXPECT_EQ("taco.js:1: Error: foo", DescribeError(try_catch));
}

TEST_F(DescribeErrorTest, NoLineNumber) {
HandleScope handle_owner(isolate_.get());

// Missing end curly brace.
const std::string js = "var foo = {\n 'taco': 1\n";

TryCatch try_catch;
ASSERT_TRUE(ExecuteJs(js, "taco.js").IsEmpty());

EXPECT_EQ("taco.js: SyntaxError: Unexpected end of input",
DescribeError(try_catch));
}

////////////////////////////////////////////////////////////////////////
// ConvertToStringVector
////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit d1810fd

Please sign in to comment.