Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: runtime/vm/report_test.cc

Issue 1574213005: Report missing semicolons after function declarations (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/report.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/report_test.cc
diff --git a/runtime/vm/report_test.cc b/runtime/vm/report_test.cc
index 6338f5b30f4cb132728580d31a77976f446a96c1..95e469e02c288fb6ef6d44e9b508c3fa6d3702cd 100644
--- a/runtime/vm/report_test.cc
+++ b/runtime/vm/report_test.cc
@@ -21,7 +21,8 @@ TEST_CASE(TraceJSWarning) {
{
const intptr_t token_pos = 0;
const char* message = "High Voltage";
- Report::MessageF(Report::kJSWarning, script, token_pos, "%s", message);
+ Report::MessageF(Report::kJSWarning,
+ script, token_pos, Report::AtLocation, "%s", message);
{
JSONStream js;
trace_buffer->PrintToJSONStream(&js);
@@ -45,7 +46,8 @@ TEST_CASE(TraceJSWarning) {
{
const intptr_t token_pos = 1;
const char* message = "Low Voltage";
- Report::MessageF(Report::kJSWarning, script, token_pos, "%s", message);
+ Report::MessageF(Report::kJSWarning,
+ script, token_pos, Report::AtLocation, "%s", message);
}
EXPECT_EQ(2, trace_buffer->Length());
EXPECT_SUBSTRING("{\"type\":\"JSCompatibilityWarning\",\"script\":{\"type\":"
« no previous file with comments | « runtime/vm/report.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698