Jan Philipp Hafer c85d2ef479 fix(clippy): define and fix clippy lints, add documentation+license преди 3 години
..
advanced 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
script_exec d91f3c05fc feat: Disable unicode support by default + update deps преди 4 години
README.md 1f2d8e2530 fix(manual): split string and array methods from section methods and test them преди 3 години
alias.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
alias.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
arithmetic_vars.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic преди 3 години
arithmetic_vars.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic преди 3 години
array_methods.ion 1f2d8e2530 fix(manual): split string and array methods from section methods and test them преди 3 години
array_methods.out 1f2d8e2530 fix(manual): split string and array methods from section methods and test them преди 3 години
array_test.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic преди 3 години
array_test.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic преди 3 години
array_vars.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic преди 3 години
array_vars.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic преди 3 години
arrays_with_braces.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
arrays_with_braces.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
basic_condition.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
basic_condition.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
brace_exp.ion 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion преди 3 години
brace_exp.out 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion преди 3 години
braces.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
braces.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
break.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
break.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
builtin_piping.ion d91f3c05fc feat: Disable unicode support by default + update deps преди 4 години
builtin_piping.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
builtin_set.ion 935811eafd Fix set and status argument handling преди 4 години
builtin_set.out 935811eafd Fix set and status argument handling преди 4 години
builtin_status.ion 935811eafd Fix set and status argument handling преди 4 години
builtin_status.out 935811eafd Fix set and status argument handling преди 4 години
check.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
check.params 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
cmdfile_fail.out 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage преди 3 години
cmdfile_fail.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage преди 3 години
color_test.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
color_test.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
command-substitutions.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
command-substitutions.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
command.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
command.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage преди 3 години
comments.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
comments.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
conditionals.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
conditionals.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
continue.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
continue.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
else_if.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
else_if.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
empty_loop_test.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
empty_loop_test.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
exists.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
exists.out 9057751f9b Apply clippy in pedantic mode преди 5 години
fail.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
fail.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
fibonacci.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
fibonacci.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
fibonacci.sh 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
fn-root-vars.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
fn-root-vars.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
fn.ion 56b83c2ee4 improv!: Rename calc builtin to math to avoid conflict with GNU преди 4 години
fn.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
for.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
for.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
function_piping.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
function_piping.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
glob.ion 843f59eff1 fix: Improved parsing and handling of backslashes преди 4 години
glob.out c85d2ef479 fix(clippy): define and fix clippy lints, add documentation+license преди 3 години
help.out e8e9b0fde0 fix: Update location of tests script in CONTRIBUTING.md. Add missing period to help.out. преди 4 години
help.params 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
herestring.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
herestring.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
if_with_builtins.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
if_with_builtins.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
inner_expansions.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
inner_expansions.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
inplace_ops.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
inplace_ops.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
issues.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
issues.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
keybinding_fail.out 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage преди 3 години
keybinding_fail.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage преди 3 години
let.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
let.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
map_vars.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic преди 3 години
map_vars.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic преди 3 години
match.ion 02cba084dc lib/shell/flow: change match expressions to match based on regex преди 4 години
match.out 02cba084dc lib/shell/flow: change match expressions to match based on regex преди 4 години
methods.ion 5d7052abb2 fix(string methods): Remove methods than expand to 0/1 преди 4 години
methods.out 843f59eff1 fix: Improved parsing and handling of backslashes преди 4 години
multiarg_fail.out 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage преди 3 години
multiarg_fail.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage преди 3 години
multiline-arrays.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
multiline-arrays.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
multiple-lines.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
multiple-lines.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
nested_conditions.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
nested_conditions.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
nested_for.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
nested_for.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
not.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
not.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
optional_assignment.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
optional_assignment.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
pipelines.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
pipelines.out a25b4d0875 feat!: Use non-forking subshells преди 4 години
process_exp.ion 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion преди 3 години
process_exp.out 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion преди 3 години
quotes.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
quotes.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
return.ion e3f7f06330 feat: Add the return keyword for returning codes from functions преди 4 години
return.out e3f7f06330 feat: Add the return keyword for returning codes from functions преди 4 години
run_benches 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
run_examples.sh c191d8c26b fix(CLI): delete structopt due to no advantage(conflict resolution) преди 3 години
scopes-2.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
scopes-2.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
scopes-3.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
scopes-3.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
scopes-4.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
scopes-4.out 38659eeb0d Make the command not found bubble and abort scripts & don't exec tests output преди 5 години
scopes.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
scopes.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
script_exec.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
script_exec.out 38659eeb0d Make the command not found bubble and abort scripts & don't exec tests output преди 5 години
square_brackets.ion 843f59eff1 fix: Improved parsing and handling of backslashes преди 4 години
square_brackets.out 843f59eff1 fix: Improved parsing and handling of backslashes преди 4 години
string_methods.ion 1f2d8e2530 fix(manual): split string and array methods from section methods and test them преди 3 години
string_methods.out 1f2d8e2530 fix(manual): split string and array methods from section methods and test them преди 3 години
string_vars.ion 380a41cd08 fix(CI): use 1.53.0 rust image instead of 1.43 and fix example преди 3 години
string_vars.out 380a41cd08 fix(CI): use 1.53.0 rust image instead of 1.43 and fix example преди 3 години
strings.ion 843f59eff1 fix: Improved parsing and handling of backslashes преди 4 години
strings.out 843f59eff1 fix: Improved parsing and handling of backslashes преди 4 години
unicode.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
unicode.out cdcb65dc84 chore: cargo fmt and bless ui test преди 4 години
variable_exp.ion 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion преди 3 години
variable_exp.out 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion преди 3 години
variables.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic преди 3 години
variables.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic преди 3 години
while.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години
while.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples преди 5 години

README.md

Changing tests

This tests are also used to generate the manual. Please make sure to update the manual, if you change tests.

Examples

The files in this directory are simple example scripts that are used to test the state of the shell as it is developed. When the run_examples.sh script is executed, it will build Ion and execute each of the ion scripts here, and compare their outputs to their assoicated out files.

TOOLCHAIN=stable ./run_examples.sh

For more elaborate examples of Ion usage, check out the advanced directory.