diff --git a/README.md b/README.md index 4caa7eb..27faa06 100644 --- a/README.md +++ b/README.md @@ -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" ``` diff --git a/itest/program.eo b/itest/program.eo index 5f666a4..9c0625d 100644 --- a/itest/program.eo +++ b/itest/program.eo @@ -22,6 +22,6 @@ +alias story -[args...] > program +[args] > program QQ.io.stdout > @ story diff --git a/test/commands/test_foreign.js b/test/commands/test_foreign.js index 6f23b3d..9139ff7 100644 --- a/test/commands/test_foreign.js +++ b/test/commands/test_foreign.js @@ -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') ); diff --git a/test/commands/test_test.js b/test/commands/test_test.js index 9918ce3..eb4f180 100644 --- a/test/commands/test_test.js +++ b/test/commands/test_test.js @@ -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([