aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2022-08-02 01:37:30 +0200
committerDaniel Gavin <danielgavin5@hotmail.com>2022-08-02 01:37:30 +0200
commitb7b21f1b56a867a33a27bde0b24ef07d8761fea5 (patch)
tree9a5cbffc26e6b8c4fc086a1d564ebe752cb4359e /tests
parent8869f3f639c5dcf222d52e78f56996a4d5abf271 (diff)
Remove `#maybe`
Diffstat (limited to 'tests')
-rw-r--r--tests/completions_test.odin8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/completions_test.odin b/tests/completions_test.odin
index 5fda923..6beb610 100644
--- a/tests/completions_test.odin
+++ b/tests/completions_test.odin
@@ -1228,7 +1228,7 @@ ast_union_identifier_completion :: proc(t: ^testing.T) {
ast_union_poly :: proc(t: ^testing.T) {
source := test.Source {
main = `package main
- My_Union :: union($T: typeid) #maybe {T}
+ My_Union :: union($T: typeid) {T}
main :: proc() {
m: My_Union(int)
@@ -1244,7 +1244,7 @@ ast_union_poly :: proc(t: ^testing.T) {
ast_maybe_first_value :: proc(t: ^testing.T) {
source := test.Source {
main = `package main
- Maybe :: union($T: typeid) #maybe {T}
+ Maybe :: union($T: typeid) {T}
main :: proc() {
m: Maybe(int)
@@ -1276,7 +1276,7 @@ ast_maybe_second_value :: proc(t: ^testing.T) {
ast_maybe_array :: proc(t: ^testing.T) {
source := test.Source {
main = `package main
- My_Union :: union($T: typeid) #maybe {T}
+ My_Union :: union($T: typeid) {T}
main :: proc() {
m: My_Union([5]u8)
@@ -1296,7 +1296,7 @@ ast_maybe_index_completion :: proc(t: ^testing.T) {
append(&packages, test.Package {
pkg = "my_package",
source = `package my_package
- Maybe :: union($T: typeid) #maybe {T}
+ Maybe :: union($T: typeid) {T}
`,
});