Skip to content

Commit

Permalink
Merge pull request #3 from N8Brooks/workflow_test_updates
Browse files Browse the repository at this point in the history
Workflow test updates
  • Loading branch information
N8Brooks authored Nov 27, 2021
2 parents fb9d091 + a3462ea commit 21ddd6d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: rm -rf npm

- name: Test
run: deno test --unstable --coverage=cov
run: deno test --coverage=cov

- name: Generate Coverage
shell: bash
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ jobs:
run: deno lint

- name: Test
# run: deno test --doc
run: deno test
run: deno test --doc

- name: Benchmark
run: deno run _benchmark.ts
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ important and elements are chosen with replacement.
import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
import { permutationsWithReplacement } from "https://deno.land/x/combinatorics/mod.ts";

const sequences = [...permutationsWithReplacement(2, [1, 2, 3, 4])];
const sequences = [...permutationsWithReplacement([1, 2, 3, 4], 2)];

assertEquals(sequences, [
[1, 1], [1, 2], [1, 3], [1, 4],
Expand Down
2 changes: 1 addition & 1 deletion permutations_with_replacement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
* import { permutationsWithReplacement } from "https://deno.land/x/combinatorics/mod.ts";
*
* const sequences = [...permutationsWithReplacement(2, [1, 2, 3, 4])];
* const sequences = [...permutationsWithReplacement([1, 2, 3, 4], 2)];
*
* assertEquals(sequences, [
* [1, 1], [1, 2], [1, 3], [1, 4],
Expand Down

0 comments on commit 21ddd6d

Please sign in to comment.