mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-12-16 10:01:16 +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