Skip to content

Commit d5e611b

Browse files
authored
Enable mac tests (#77)
* fix: Doc directive is missing a closing tag. * enable macos integration test in pipeline * Update supported platforms in README
1 parent 26299a3 commit d5e611b

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ jobs:
5555
- run: flutter pub run webcrypto:setup
5656
- run: flutter test
5757
- run: flutter test --platform chrome
58-
# TODO: Enable macos desktop when supported
59-
#- run: flutter test integration_test/webcrypto_test.dart -d macos
60-
# working-directory: ./example
58+
- run: flutter test integration_test/webcrypto_test.dart -d macos
59+
working-directory: ./example
6160
- uses: nanasess/setup-chromedriver@v2
6261
- name: Run integration_test with chromedriver
6362
working-directory: ./example

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ browser, this package features a native implementation embedding
1212
web browser this package wraps the [`window.crypto`][window-crypto] APIs and
1313
providing the same Dart API as the native implementation.
1414

15-
This way, `package:webcrypto` provides the same crypto API on multiple
16-
platforms. Initially targeting Flutter for **Android**, **iOS** and **Web**,
17-
with other platforms following as soon as the build system allows.
15+
This way, `package:webcrypto` provides the same crypto API on **Android**, **iOS**, **Web**, **Windows**, **Linux** and **Mac**.
1816

1917
**Example**
2018
```dart

lib/src/webcrypto/webcrypto.hmac.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ abstract class HmacSecretKey {
197197
/// timing attacks. To validate signatures use [verifyBytes] or [verifyStream]
198198
/// instead, these methods computes a signature and does a
199199
/// fixed-time comparison.
200-
/// {@template}
200+
/// {@endtemplate}
201201
Future<Uint8List> signBytes(List<int> data);
202202

203203
/// Compute an HMAC signature of given [data] stream.

0 commit comments

Comments
 (0)