Skip to content

Commit

Permalink
Fix command line args for test runner (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmglov authored Feb 4, 2024
1 parent 8ec3e9b commit b95da16
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ For breaking changes, check [here](#breaking-changes).

[Babashka CLI](https://github.com/babashka/cli): turn Clojure functions into CLIs!

## Unreleased

- Fix command line args for test runner `--dirs`, `--only`, etc

## v0.8.55 (2024-01-04)

- Fix `--no-option` (`--no` prefix) in combination with subcommands
Expand Down
14 changes: 7 additions & 7 deletions test/babashka/test_runner.clj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(ns babashka.test-runner
{:org.babashka/cli {:coerce {:dirs :strings
:nses :symbols
:patterns :strings
:vars :symbols
:includes :keywords
:excludes :keywords
:only :symbols}}}
{:org.babashka/cli {:coerce {:dirs [:string]
:nses [:symbol]
:patterns [:string]
:vars [:symbol]
:includes [:keyword]
:excludes [:keyword]
:only :symbol}}}
(:refer-clojure :exclude [test])
(:require
[clojure.test :as test]
Expand Down

0 comments on commit b95da16

Please sign in to comment.