(t *testing.T)
| 354 | } |
| 355 | |
| 356 | func TestBindPointers(t *testing.T) { |
| 357 | // t.Parallel() |
| 358 | path := "_examples/pointers" |
| 359 | testPkg(t, pkg{ |
| 360 | path: path, |
| 361 | lang: features[path], |
| 362 | cmd: "build", |
| 363 | extras: nil, |
| 364 | want: []byte(`s = pointers.S(2) |
| 365 | s = pointers.S{Value=2, handle=1} |
| 366 | s.Value = 2 |
| 367 | OK |
| 368 | `), |
| 369 | }) |
| 370 | } |
| 371 | |
| 372 | func TestBindNamed(t *testing.T) { |
| 373 | // t.Parallel() |