Skip to content
Features
Business
Explore
Marketplace
Pricing
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
Sign in
or
Sign up
Watch
36
Star
802
Fork
35
oilshell
/
oil
Code
Issues
53
Pull requests
0
Projects
0
Wiki
Insights
Permalink
Browse files
Simpler test cases
Loading branch information
...
Andy Chu
committed
Sep 2, 2017
1 parent
a79ebc8
commit
dd52222e2961c81984dc730c9bd76e466a6dcf0a
Unified
Split
Showing
1 changed file
with
22 additions
and
0 deletions
.
+22
−0
spec/blog-other1.test.sh
Show comments
View
22
spec/blog-other1.test.sh
@@ -32,3 +32,25 @@ EOPATHS
)
echo
"
$paths
"
#
stdout-json: "/foo\n/bar\n/baz\n"
#
## Simpler example
foo=
`
cat
`
<<
EOM
hello world
EOM
echo
"
$foo
"
#
stdout: hello world
#
## ` after here doc delimiter
foo=
`
cat
<<
EOM
hello world
EOM`
echo "$foo"
# stdout: hello world
### ` on its own line
foo=`cat <<EOM
hello world
EOM
`
echo
"
$foo
"
#
stdout: hello world
Toggle all file notes
0 comments on commit
dd52222
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
Press h to open a hovercard with more details.
0 comments on commit
dd52222