Skip to content

Commit

Permalink
Right this time
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout authored and pastuxso committed Nov 10, 2023
1 parent 8614953 commit 4b588ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testdata/script/basic.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ exec runme ls --allow-unnamed=true
cmp stdout golden-list-allow-unnamed.txt
! stderr .

env PATH=/opt/homebrew/bin:$PATH
! exec runme ls --filename nonexistent.md
stderr 'failed to open markdown file .*/nonexistent.md: no such file or directory'
! stdout .
Expand Down Expand Up @@ -44,14 +43,17 @@ exec sh -c 'runme run --allow-unnamed package-main'
stdout 'Hello from Go, runme!'
! stderr .

env PATH=/opt/homebrew/bin:$PATH
exec runme run hello-js
stdout 'Hello, runme, from javascript!'
! stderr .

env PATH=/opt/homebrew/bin:$PATH
exec runme run hello-js-cat
stdout 'console\.log\(\"Hello, runme, from javascript!\"\)'
! stderr .

env PATH=/opt/homebrew/bin:$PATH
exec runme run hello-python
stdout 'Hello from Python'
! stderr .
Expand Down

0 comments on commit 4b588ed

Please sign in to comment.