Skip to content

Commit

Permalink
#205: test works
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 22, 2023
1 parent 1d848a8 commit beac1c7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Then, you write a simple [EO](https://www.eolang.org) program in `hello.eo` file
in the current directory:

```
[args...] > hello
[args] > hello
QQ.io.stdout > @
"Hello, world!\n"
```
Expand Down
2 changes: 1 addition & 1 deletion itest/program.eo
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@

+alias story

[args...] > program
[args] > program
QQ.io.stdout > @
story
2 changes: 1 addition & 1 deletion test/commands/test_foreign.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('foreign', function() {
fs.writeFileSync(
path.resolve(home, 'src/simple.eo'),
[
'[args...] > app',
'[args] > app',
' QQ.io.stdout "Hello, world!" > @',
].join('\n')
);
Expand Down
6 changes: 2 additions & 4 deletions test/commands/test_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@ describe('test', function() {
path.resolve(home, 'src/simple-test.eo'),
[
'+junit',
'+alias org.eolang.hamcrest.assert-that',
'',
'[] > simple-comparison-works',
' assert-that > @',
' gt. > @',
' 10',
' $.greater-than',
' 5',
' 5',
].join('\n')
);
const stdout = runSync([
Expand Down

0 comments on commit beac1c7

Please sign in to comment.