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

Unified Diff: tests/language_strong/bit_operations_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (Closed)
Patch Set: Created 3 years, 9 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 | « tests/language_strong/bad_raw_string_test.dart ('k') | tests/language_strong/black_listed_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/bit_operations_test.dart
diff --git a/tests/language_strong/bit_operations_test.dart b/tests/language_strong/bit_operations_test.dart
index 882b8f1981f5ed0a7d5fffb7857be0ea9f4c4260..a704f682970e529532fa684ee843a024d8d7f981 100644
--- a/tests/language_strong/bit_operations_test.dart
+++ b/tests/language_strong/bit_operations_test.dart
@@ -93,19 +93,19 @@ void testLeftShift64Bit() {
Expect.equals(0xffffffff, t << 0);
Expect.equals(0x1fffffffe, t << 1);
Expect.equals(0x7fffffff80000000, t << 31);
- Expect.equals(0x10000000000000000, 2*(t+1) << 31); /// 01: static type warning
- Expect.equals(0x20000000000000000, 4*(t+1) << 31); /// 02: static type warning
+ Expect.equals(0x10000000000000000, 2*(t+1) << 31); //# 01: static type warning
+ Expect.equals(0x20000000000000000, 4*(t+1) << 31); //# 02: static type warning
Expect.equals(0x8000000000000000, (t+1) << 31);
}
void testLeftShift64BitWithOverflow1() {
var t = 0xffffffff;
- Expect.equals(0x10000000000000000, 2*(t+1) << 31); /// 03: static type warning
+ Expect.equals(0x10000000000000000, 2*(t+1) << 31); //# 03: static type warning
}
void testLeftShift64BitWithOverflow2() {
var t = 0xffffffff;
- Expect.equals(0x20000000000000000, 4*(t+1) << 31); /// 04: static type warning
+ Expect.equals(0x20000000000000000, 4*(t+1) << 31); //# 04: static type warning
}
void testLeftShift64BitWithOverflow3() {
« no previous file with comments | « tests/language_strong/bad_raw_string_test.dart ('k') | tests/language_strong/black_listed_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698