Commit Graph

6 Commits

Author SHA1 Message Date
Abhinav Gupta e395deef6b
all: Assert => Assertf
Migrates all remaining usages of
`contract.Assert*` and `contract.Require*` to the f variants,
which require adding meaningful error messages.

There were a couple cases where a `testing.T` or `testing.B`
was already available.
For those, this uses t.FailNow or require.NoError.

Refs 
2023-03-03 14:37:43 -08:00
Ian Wahbe 84aeccee67 Avoid panicing on invalid Pulumi.yaml["plugins"] 2023-01-18 10:59:19 -08:00
aq17 b10b0c80a1 Test YAML PCL examples 2022-10-24 10:33:48 -07:00
Alex Qiu b1557bc5ec
Fix StackReference code gen () 2022-08-19 10:27:05 -07:00
Fraser Waters ab46b0c5a7
Change pulumi schema to use PackageSpec ()
This ensures the schema is fully validated by the spec parser, the old
schema wasn't even codegen-able because of various fields not being
linked up correctly.
2022-08-08 17:32:27 +01:00
Alex Qiu e020a12b44
Add mock pulumi package () 2022-07-18 19:47:31 -07:00