From b7b21f1b56a867a33a27bde0b24ef07d8761fea5 Mon Sep 17 00:00:00 2001 From: Daniel Gavin Date: Tue, 2 Aug 2022 01:37:30 +0200 Subject: Remove `#maybe` --- tests/completions_test.odin | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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} `, }); -- cgit v1.2.3