Skip to content

Commit

Permalink
refactor: Fix firefox test case
Browse files Browse the repository at this point in the history
  • Loading branch information
koji-1009 committed Feb 28, 2024
1 parent 073f1e0 commit 7e2dd45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/browser_firefox_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void main() {
(e) => e.message,
'message',
contains(
'''Failed to execute 'getRandomValues' on 'Crypto': The ArrayBufferView's byte length (1000000) exceeds the number of bytes of entropy available via this API (65536).''',
'''Crypto.getRandomValues: getRandomValues can only generate maximum 65536 bytes''',
),
),
),
Expand All @@ -102,7 +102,7 @@ void main() {
(e) => e.message,
'message',
contains(
'''Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is of type 'Float32', which is not an integer array type.''',
'''The type of an object is incompatible with the expected type of the parameter associated to the object''',
),
),
),
Expand Down

0 comments on commit 7e2dd45

Please sign in to comment.