Skip to content

Commit 21ddd6d

Browse files
authored
Merge pull request #3 from N8Brooks/workflow_test_updates
Workflow test updates
2 parents fb9d091 + a3462ea commit 21ddd6d

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.github/workflows/cd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: rm -rf npm
4242

4343
- name: Test
44-
run: deno test --unstable --coverage=cov
44+
run: deno test --coverage=cov
4545

4646
- name: Generate Coverage
4747
shell: bash

.github/workflows/ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
run: deno lint
3737

3838
- name: Test
39-
# run: deno test --doc
40-
run: deno test
39+
run: deno test --doc
4140

4241
- name: Benchmark
4342
run: deno run _benchmark.ts

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ important and elements are chosen with replacement.
9797
import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
9898
import { permutationsWithReplacement } from "https://deno.land/x/combinatorics/mod.ts";
9999

100-
const sequences = [...permutationsWithReplacement(2, [1, 2, 3, 4])];
100+
const sequences = [...permutationsWithReplacement([1, 2, 3, 4], 2)];
101101

102102
assertEquals(sequences, [
103103
[1, 1], [1, 2], [1, 3], [1, 4],

permutations_with_replacement.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
99
* import { permutationsWithReplacement } from "https://deno.land/x/combinatorics/mod.ts";
1010
*
11-
* const sequences = [...permutationsWithReplacement(2, [1, 2, 3, 4])];
11+
* const sequences = [...permutationsWithReplacement([1, 2, 3, 4], 2)];
1212
*
1313
* assertEquals(sequences, [
1414
* [1, 1], [1, 2], [1, 3], [1, 4],

0 commit comments

Comments
 (0)