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

Unified Diff: tests/SkSLErrorTest.cpp

Issue 2458723002: Revert of Reduced skslc memory consumption (Closed)
Patch Set: Created 4 years, 2 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 | « src/sksl/sksl.include ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/SkSLErrorTest.cpp
diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp
index 3afb64fe6167a5f9378234b14e34f05c18e762fe..47e31e6ee421229826758971b7f4fdc91f5a4ec0 100644
--- a/tests/SkSLErrorTest.cpp
+++ b/tests/SkSLErrorTest.cpp
@@ -43,12 +43,7 @@
DEF_TEST(SkSLGenericArgumentMismatch, r) {
test_failure(r,
"void main() { float x = sin(1, 2); }",
- "error: 1: call to 'sin' expected 1 argument, but found 2\n1 error\n");
- test_failure(r,
- "void main() { float x = sin(true); }",
- "error: 1: no match for sin(bool)\n1 error\n");
- test_success(r,
- "void main() { float x = sin(1); }");
+ "error: 1: no match for sin(int, int)\n1 error\n");
}
DEF_TEST(SkSLArgumentCountMismatch, r) {
« no previous file with comments | « src/sksl/sksl.include ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698