Skip to content

Commit dc03735

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 dc03735

File tree

5 files changed

+5
-1410
lines changed

5 files changed

+5
-1410
lines changed

test-generator/prototype-safe.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,17 @@ const tests = `[${
142142
['length', 'toString', 'constructor', '__proto__'].map(name =>
143143
makeBlock(name, 'This is a common bug of some of the JS validators, this test detects it')
144144
).join(',')
145+
},${
146+
['foo', 'length', '__proto__'].map(name => makeBlockDefault(name, '__proto__')).join(',')
147+
/*
148+
// Lua-targeting, commented out until tested against an actual Lua-based impl
145149
},${
146150
['__len', '__tostring', '__gc', '__index'].map(name =>
147151
makeBlock(name, 'Also test for Lua special name handling')
148152
).join(',')
149-
},${
150-
['foo', 'length', '__proto__'].map(name => makeBlockDefault(name, '__proto__')).join(',')
151153
},${
152154
makeBlockDefault('__index', '__index')
155+
*/
153156
}
154157
]`
155158

0 commit comments

Comments
 (0)