mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-25 11:32:33 +00:00
faaada2eaa
* Add platform_transition_test Signed-off-by: Thomas Lam <thomaslam@canva.com> * Set target platform constraints for tests Signed-off-by: Thomas Lam <thomaslam@canva.com> * Update docs Signed-off-by: Thomas Lam <thomaslam@canva.com> --------- Signed-off-by: Thomas Lam <thomaslam@canva.com>
11 lines
151 B
Go
11 lines
151 B
Go
package simple_test
|
|
|
|
import "testing"
|
|
|
|
func TestAdd(t *testing.T) {
|
|
result := 1 + 2
|
|
if result != 3 {
|
|
t.Errorf("got %q, wanted %q", result, 3)
|
|
}
|
|
}
|