diff --git a/tools/transpiler/spec/imports_spec.js b/tools/transpiler/spec/imports_spec.js index caadc4ca22..dff69bbda3 100644 --- a/tools/transpiler/spec/imports_spec.js +++ b/tools/transpiler/spec/imports_spec.js @@ -37,7 +37,7 @@ export function main() { // Dart "No top-level method 'exportModule.Bar3' declared.": // JavaScript - 'undefined is not a function' + new RegExp('.*is not a function') ); expect(Type).toBeTruthy();