mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 05:27:23 +00:00
fix Promise reject cannot get Exception string.
This commit is contained in:
@@ -158,7 +158,7 @@ void main() async {
|
||||
qjs.evaluate("a=()=>a();a();", name: "<eval>");
|
||||
} catch (e) {
|
||||
expect(
|
||||
e.toString(), startsWith('Exception: InternalError: stack overflow'),
|
||||
e.toString(), startsWith('InternalError: stack overflow'),
|
||||
reason: "throw stack overflow");
|
||||
}
|
||||
qjs.close();
|
||||
|
Reference in New Issue
Block a user