That, but for operation arg count testing
This commit is contained in:
parent
1302731793
commit
92e8205bb9
|
@ -18,14 +18,6 @@ testStringErr (test,
|
|||
`)
|
||||
}
|
||||
|
||||
func TestOperationLogicalNegationUnderArgCountErr (test *testing.T) {
|
||||
testStringErr (test,
|
||||
"wrong argument count for !", 10, 2,
|
||||
`
|
||||
[main] = [!]
|
||||
`)
|
||||
}
|
||||
|
||||
func TestOperationLogicalNegationOverArgCountErr (test *testing.T) {
|
||||
testStringErr (test,
|
||||
"wrong argument count for !", 10, 2,
|
||||
|
@ -34,14 +26,6 @@ testStringErr (test,
|
|||
`)
|
||||
}
|
||||
|
||||
func TestOperationBitwiseNegationUnderArgCountErr (test *testing.T) {
|
||||
testStringErr (test,
|
||||
"wrong argument count for !!", 10, 2,
|
||||
`
|
||||
[main] = [!!]
|
||||
`)
|
||||
}
|
||||
|
||||
func TestOperationBitwiseNegationOverArgCountErr (test *testing.T) {
|
||||
testStringErr (test,
|
||||
"wrong argument count for !!", 10, 2,
|
||||
|
@ -50,14 +34,6 @@ testStringErr (test,
|
|||
`)
|
||||
}
|
||||
|
||||
func TestOperationBitShiftLeftUnderArgCountErr (test *testing.T) {
|
||||
testStringErr (test,
|
||||
"wrong argument count for <<", 10, 2,
|
||||
`
|
||||
[main] = [<<]
|
||||
`)
|
||||
}
|
||||
|
||||
func TestOperationBitShiftLeftOverArgCountErr (test *testing.T) {
|
||||
testStringErr (test,
|
||||
"wrong argument count for <<", 10, 2,
|
||||
|
@ -66,14 +42,6 @@ testStringErr (test,
|
|||
`)
|
||||
}
|
||||
|
||||
func TestOperationBitShiftRightUnderArgCountErr (test *testing.T) {
|
||||
testStringErr (test,
|
||||
"wrong argument count for >>", 10, 2,
|
||||
`
|
||||
[main] = [>>]
|
||||
`)
|
||||
}
|
||||
|
||||
func TestOperationBitShiftRightOverArgCountErr (test *testing.T) {
|
||||
testStringErr (test,
|
||||
"wrong argument count for >>", 10, 2,
|
||||
|
|
Loading…
Reference in New Issue