Skip to content

Commit e64b713

Browse files
committed
Remove Lua-targeting tests for now
Until they are checked against any actual Lua impl and it's confirmed that they are useful.
1 parent eae4651 commit e64b713

File tree

5 files changed

+6
-1410
lines changed

5 files changed

+6
-1410
lines changed

test-generator/prototype-safe.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,17 @@ const tests = `[${
143143
makeBlock(name, 'This is a common bug of some of the JS validators, this test detects it')
144144
).join(',')
145145
},${
146+
['foo', 'length', '__proto__'].map(name => makeBlockDefault(name, '__proto__')).join(',')
147+
},${
148+
''
149+
// Lua-targeting, commented out until tested against an actual Lua-based impl
150+
/*
146151
['__len', '__tostring', '__gc', '__index'].map(name =>
147152
makeBlock(name, 'Also test for Lua special name handling')
148153
).join(',')
149-
},${
150-
['foo', 'length', '__proto__'].map(name => makeBlockDefault(name, '__proto__')).join(',')
151154
},${
152155
makeBlockDefault('__index', '__index')
156+
*/
153157
}
154158
]`
155159

0 commit comments

Comments
 (0)