| Index: editor/tools/plugins/com.google.dart.engine.services_test/src/com/google/dart/engine/services/internal/correction/QuickAssistProcessorImplTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine.services_test/src/com/google/dart/engine/services/internal/correction/QuickAssistProcessorImplTest.java b/editor/tools/plugins/com.google.dart.engine.services_test/src/com/google/dart/engine/services/internal/correction/QuickAssistProcessorImplTest.java
|
| index a1df70eff03500b4ae736a5f2fc63f85cc5c5eb2..389a8bafe3bdbbcc29632bad6e6405fe683d60dc 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine.services_test/src/com/google/dart/engine/services/internal/correction/QuickAssistProcessorImplTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine.services_test/src/com/google/dart/engine/services/internal/correction/QuickAssistProcessorImplTest.java
|
| @@ -1759,6 +1759,18 @@ public class QuickAssistProcessorImplTest extends RefactoringImplTest {
|
| }
|
| }
|
|
|
| + public void test_splitAndCondition_wrong_notAnd() throws Exception {
|
| + String initial = makeSource(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "main() {",
|
| + " if (1 == 1 || 2 == 2) {",
|
| + " print(0);",
|
| + " }",
|
| + "}");
|
| + // not &&
|
| + assert_splitAndCondition_wrong(initial, "|| 2 == 2");
|
| + }
|
| +
|
| public void test_splitAndCondition_wrong_notPartOfIf() throws Exception {
|
| String initial = makeSource(
|
| "// filler filler filler filler filler filler filler filler filler filler",
|
|
|