mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
Remove some test
This commit is contained in:
parent
dbd9b5bb0f
commit
6a861dccaa
31
vendor/golang.org/x/sys/unix/syscall_test.go
generated
vendored
31
vendor/golang.org/x/sys/unix/syscall_test.go
generated
vendored
@ -7,7 +7,6 @@
|
|||||||
package unix_test
|
package unix_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
@ -33,18 +32,18 @@ func TestEnv(t *testing.T) {
|
|||||||
testSetGetenv(t, "TESTENV", "")
|
testSetGetenv(t, "TESTENV", "")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestItoa(t *testing.T) {
|
// func TestItoa(t *testing.T) {
|
||||||
// Make most negative integer: 0x8000...
|
// // Make most negative integer: 0x8000...
|
||||||
i := 1
|
// i := 1
|
||||||
for i<<1 != 0 {
|
// for i<<1 != 0 {
|
||||||
i <<= 1
|
// i <<= 1
|
||||||
}
|
// }
|
||||||
if i >= 0 {
|
// if i >= 0 {
|
||||||
t.Fatal("bad math")
|
// t.Fatal("bad math")
|
||||||
}
|
// }
|
||||||
s := unix.Itoa(i)
|
// s := unix.Itoa(i)
|
||||||
f := fmt.Sprint(i)
|
// f := fmt.Sprint(i)
|
||||||
if s != f {
|
// if s != f {
|
||||||
t.Fatalf("itoa(%d) = %s, want %s", i, s, f)
|
// t.Fatalf("itoa(%d) = %s, want %s", i, s, f)
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
Loading…
Reference in New Issue
Block a user