Skip to content

Commit

Permalink
fix(e2e): update arr slot holes assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
emil14 committed Nov 28, 2024
1 parent 4147ad8 commit aeb7312
Show file tree
Hide file tree
Showing 81 changed files with 85 additions and 85 deletions.
6 changes: 3 additions & 3 deletions docs/book/program_structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ Module is usually a git-repo but not necessary. Module that isn't published in g

### Manifest File

The manifest defines the module's minimum supported language version and dependencies. Here's an example manifest with a dependency on the Nevalang compiler version `0.27.1` and a third-party module:
The manifest defines the module's minimum supported language version and dependencies. Here's an example manifest with a dependency on the Nevalang compiler version `0.28.0` and a third-party module:

```yaml
neva: 0.27.1
neva: 0.28.0
deps:
github.com/nevalang/x:
path: github.com/nevalang/x
Expand All @@ -51,7 +51,7 @@ The `deps` field is a map where each dependency has an alias. When adding depend
> WIP: CLI tool planned for CI/CD to verify module's backward compatibility

```yaml
neva: 0.27.1
neva: 0.28.0
deps:
github.com/nevalang/x@0-0-12:
path: github.com/nevalang/x
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ After installation is finished, you should be able to run the `neva` CLI from yo
neva version
```

It should emit something like `0.27.1`
It should emit something like `0.28.0`

### Hello, World!

Expand Down Expand Up @@ -254,7 +254,7 @@ This structure introduces two fundamental concepts in Nevalang: modules and pack
A module is a set of packages with a manifest file (`neva.yaml`). When we created our project with `neva new`, it generated a basic module with the following manifest file:

```yaml
neva: 0.27.1
neva: 0.28.0
```
This defines the Nevalang version for our project. As your project grows, you can include dependencies on third-party modules here.
Expand Down
2 changes: 1 addition & 1 deletion e2e/99_bottles_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/add_nums_from_stdin_naive/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/add_nums_from_stdin_with_default_any/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/add_nums_from_stdin_with_err_handling/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/add_nums_from_stdin_with_multuple_senders/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/add_nums_from_stdin_with_sub_components/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/add_nums_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/array_inport_holes/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func Test(t *testing.T) {
require.Contains(
t,
string(out),
"main/main.neva: array inport 'printf:args' is used incorrectly: slot 1 is missing\n",
"main/main.neva:4:1: array inport 'printf:args' is used incorrectly: slot 1 is missing\n",
)

require.Equal(t, 0, cmd.ProcessState.ExitCode())
Expand Down
2 changes: 1 addition & 1 deletion e2e/array_inport_holes/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/array_outport_holes/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func Test(t *testing.T) {
require.Contains(
t,
string(out),
"main/main.neva: array outport 'fanOut:data' is used incorrectly: slot 1 is missing\n",
"main/main.neva:4:1: array outport 'fanOut:data' is used incorrectly: slot 1 is missing\n",
)

require.Equal(t, 0, cmd.ProcessState.ExitCode())
Expand Down
2 changes: 1 addition & 1 deletion e2e/array_outport_holes/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/arithmetic/add/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/arithmetic/divide/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/arithmetic/modulo/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/arithmetic/multiply/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/arithmetic/power/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/arithmetic/subtract/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/bitwise/and/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/bitwise/left_shift/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/bitwise/or/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/bitwise/right_shift/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/bitwise/xor/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/comparison/equal/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/comparison/greater/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/comparison/greater_equal/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/comparison/less/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/comparison/less_equal/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/comparison/not_equal/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/logical/and/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/binary_operators/logical/or/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/cli_new/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/comments/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/compiler_error_unused_outport/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/const_refs_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/div_test/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/do_nothing_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/duplicate_receiver/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/duplicate_sender/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/echo_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/enums_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/float_const_with_int_lit/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/for_loop_over_list_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/for_with_range_and_if/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/hello_world_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/hello_world_with_const_sender/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/hello_world_with_implicit_any/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/hello_world_with_literal_sender/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/hello_world_with_then_connection/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/hello_world_with_unnamed_node/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/inc_test/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/incompat_comp_type_arg/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/incompat_types_with_untyped_port/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/interface_anonymous/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/interface_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/interface_with_imports/neva.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
neva: 0.27.1
neva: 0.28.0
deps:
github.com/nevalang/x:
path: github.com/nevalang/x
Expand Down
2 changes: 1 addition & 1 deletion e2e/list_with_neg_nums/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/local_imports/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/map_list_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/multiply_numbers/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/non_unique_fan_in/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/non_unique_fan_out/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/order_dependend_with_arr_inport/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/print_float/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/regex_submatch_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/run_cli_not_from_module_root/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/simple_fan_out/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/slow_iteration_with_for/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/slow_iteration_with_map/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/struct_builder_verbose/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
2 changes: 1 addition & 1 deletion e2e/struct_builder_with_sugar/neva.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neva: 0.27.1
neva: 0.28.0
Loading

0 comments on commit aeb7312

Please sign in to comment.