From 4bd1513262a61071b07f5efe2a3cb9356ce6c8c2 Mon Sep 17 00:00:00 2001
From: Li Jin <dragon-fly@qq.com>
Date: Wed, 17 May 2023 15:11:09 +0800
Subject: fix spec.

---
 spec/inputs/existential.yue |  2 +-
 spec/inputs/metatable.yue   | 16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)

(limited to 'spec/inputs')

diff --git a/spec/inputs/existential.yue b/spec/inputs/existential.yue
index e73b421..27891dc 100644
--- a/spec/inputs/existential.yue
+++ b/spec/inputs/existential.yue
@@ -49,7 +49,7 @@ with? io.open "test.txt", "w"
 	\write "hello"
 	\close!
 
-tb?.<a>? 123
+tb?.<call>? 123
 
 with? tb.<>?.<index>
 	.a = 1
diff --git a/spec/inputs/metatable.yue b/spec/inputs/metatable.yue
index 61cc266..38b7ce5 100644
--- a/spec/inputs/metatable.yue
+++ b/spec/inputs/metatable.yue
@@ -37,14 +37,14 @@ a.<index> = tb
 mt = a.<>
 
 tb\func #list
-tb\<func>list
-tb\<func> list
+tb\<"func">list
+tb\<"func"> list
 
 import "module" as :<index>, <newindex>:setFunc
 
 with tb
 	print .<add>, .x\<index> "key"
-	a = .<index>.<add>\<new> 123
+	a = .<index>.<add>\<"new"> 123
 	b = t#.<close>.test
 	c = t #.<close> .test
 
@@ -70,13 +70,13 @@ do
 	return tb\<["value" .. tostring x > y]>(123, ...)
 
 do
-	f = tb\<value>(123, ...)
-	f tb\<value>(123, ...)
-	tb\<value>(123, ...)
-	return tb\<value> 123, ...
+	f = tb\<'value'>(123, ...)
+	f tb\<'value'>(123, ...)
+	tb\<'value'>(123, ...)
+	return tb\<'value'> 123, ...
 
 do
-	f = tb.<value> 123, ...
+	f = tb.<["value"]> 123, ...
 	f = tb.<"value#{x < y}">(123, ...)
 	f tb.<'value'> 123, ...
 	tb.<[[ value
-- 
cgit v1.2.3-55-g6feb