Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit e466d01

Browse files
committed
test - enable test of readonly.lua
1 parent ca03170 commit e466d01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test/life-quick.lua "${_data}")
166166
add_lua_test ( ${CMAKE_CURRENT_BINARY_DIR}/test/life-quick.lua )
167167
#add_lua_test ( test/luac.lua ) # Requires input
168168
add_lua_test ( test/printf.lua )
169-
#add_lua_test ( test/readonly.lua ) # this is aimed to fail, modification is required
169+
add_lua_test ( test/readonly.lua )
170+
set_property ( TEST readonly PROPERTY PASS_REGULAR_EXPRESSION "cannot redefine global variable `y'" )
170171
add_lua_test ( test/sieve.lua )
171172
add_lua_test ( test/sort.lua )
172173
#add_lua_test ( test/table.lua ) # Requires input

0 commit comments

Comments
 (0)