mirror of https://github.com/tinygo-org/tinygo.git
wasmstm32webassemblymicrocontrollerarmavrspiwasiadafruitarduinocircuitplayground-expressgpioi2cllvmmicrobitnrf51nrf52nrf52840samd21tinygo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
273 B
17 lines
273 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"testing" // This is the tinygo testing package
|
||
|
)
|
||
|
|
||
|
func TestFail1(t *testing.T) {
|
||
|
t.Error("TestFail1 failed because of stuff and things")
|
||
|
}
|
||
|
|
||
|
func TestFail2(t *testing.T) {
|
||
|
t.Error("TestFail2 failed for reasons")
|
||
|
}
|
||
|
|
||
|
func TestPass(t *testing.T) {
|
||
|
}
|