Skip to content

Commit

Permalink
test(run): add test for multiple arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanccn committed Apr 20, 2024
1 parent 16ab9b9 commit 7fe789c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/run/multiple_args.in/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"scripts": {
"dev": "echo dev"
}
}
8 changes: 8 additions & 0 deletions tests/run/multiple_args.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
args = ["run", "dev", "a", "b"]

stdout = """
dev a b
"""
stderr = """
$ echo dev a b
"""

0 comments on commit 7fe789c

Please sign in to comment.