mjarkk / general_programming_language

A temporarly repo for an idea to create a programming language that can be compiled into other languages
MIT License
1 stars 0 forks source link

Add test for global let #2

Closed TheOtterlord closed 4 years ago

TheOtterlord commented 4 years ago

I've added the test and a parse_str_fail function. I couldn't think of any other fail tests to write yet, so have only added one.

running 13 tests
test tests::test_empty ... ok
test tests::test_function_call_with_args ... FAILED
test tests::test_function_call ... FAILED
test tests::test_function_with_arg ... ok
test tests::test_function_with_args ... ok
test tests::test_function_with_arg_and_result ... FAILED
test tests::test_function_with_result ... FAILED
test tests::test_function_empty ... ok
test tests::test_functions_empty ... ok
test tests::test_variable ... FAILED
test tests::test_variable_global_let ... ok
test tests::test_variable_string_with_spaces ... FAILED
test tests::test_variable_strings_with_backslashes ... FAILED
TheOtterlord commented 4 years ago

Revised the code. Thanks for the help

mjarkk commented 4 years ago

Awesome!