mirror of
https://github.com/golang/go
synced 2024-09-19 16:01:33 +00:00
13 lines
157 B
Go
13 lines
157 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"d"
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
if got, want := d.BuildInt(), 42; got != want {
|
||
|
panic(fmt.Sprintf("got %d, want %d", got, want))
|
||
|
}
|
||
|
}
|