Index: pkg/analysis_server/tool/spec/codegen_inttest_methods.dart |
diff --git a/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart b/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart |
index 50bbb4ec8c48bfefa10b7a1e450fb75bd3262b80..b734061958318494895fb4492f48e3500cbbd4db 100644 |
--- a/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart |
+++ b/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart |
@@ -179,7 +179,7 @@ class CodegenInttestMethodsVisitor extends DartCodegenVisitor |
indent(() { |
String paramsValidator = camelJoin( |
['is', notification.domainName, notification.event, 'params']); |
- writeln('expect(params, $paramsValidator);'); |
+ writeln('outOfTestExpect(params, $paramsValidator);'); |
String constructorCall; |
if (notification.params == null) { |
constructorCall = 'new $className()'; |
@@ -255,7 +255,7 @@ class CodegenInttestMethodsVisitor extends DartCodegenVisitor |
writeln('ResponseDecoder decoder = new ResponseDecoder($kind);'); |
writeln("return new $resultClass.fromJson(decoder, 'result', result);"); |
} else { |
- writeln('expect(result, isNull);'); |
+ writeln('outOfTestExpect(result, isNull);'); |
writeln('return null;'); |
} |
}); |