Skip to content

Commit

Permalink
fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfriend99 committed Sep 25, 2024
1 parent c09a14e commit 2ae2503
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/anonymous.b
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var test = @(a) {
}
test('It works!')

var test_compat = |a| {
var test_compat = @(a) {
echo a
}
test_compat('It works still!')
Expand All @@ -18,7 +18,7 @@ def main() {
concat()
echo g

var concat_compat = || {
var concat_compat = @{
g += ' still!'
}
concat_compat()
Expand Down
2 changes: 1 addition & 1 deletion tests/class.b
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class Animal {
echo 'Name is set'
}

var _print = |g| {
var _print = @(g) {
echo g
}
}
Expand Down

0 comments on commit 2ae2503

Please sign in to comment.