(t *testing.T)
| 422 | } |
| 423 | |
| 424 | func TestBindConsts(t *testing.T) { |
| 425 | // t.Parallel() |
| 426 | path := "_examples/consts" |
| 427 | // NOTE: python2 does not properly output .666 decimals for unknown reasons. |
| 428 | testPkg(t, pkg{ |
| 429 | path: path, |
| 430 | lang: features[path], |
| 431 | cmd: "build", |
| 432 | extras: nil, |
| 433 | want: []byte(`c1 = c1 |
| 434 | c2 = 42 |
| 435 | c3 = 666.666 |
| 436 | c4 = c4 |
| 437 | c5 = 42 |
| 438 | c6 = 42 |
| 439 | c7 = 666.666 |
| 440 | k1 = 1 |
| 441 | k2 = 2 |
| 442 | OK |
| 443 | `), |
| 444 | }) |
| 445 | } |
| 446 | |
| 447 | func TestBindVars(t *testing.T) { |
| 448 | // t.Parallel() |