pulumi/cmd
Bryce Lampe 8dd12256b4
[ci] Improve file diffing (#14786)
Fixes https://github.com/pulumi/pulumi/issues/13943

Example:
```
--- FAIL: TestLanguage (16.74s)
    language_test.go:42: build output:
    --- FAIL: TestLanguage/l2-resource-simple (0.01s)
        language_test.go:137: sdk snapshot validation for simple failed:
            expected file package.json does not match actual file:

            --- expected
            +++ actual
            @@ -8,8 +8,8 @@
                     "@pulumi/pulumi": "^3.42.0"
                 },
                 "devDependencies": {
            -        "@types/node": "^14",
                     "@types/google-protobuf": "^3.15.12",
            +        "@types/node": "^14",
                     "typescript": "^4.3.5"
                 },
                 "pulumi": {

        language_test.go:139: stdout:
        language_test.go:140: stderr:
        language_test.go:141:
            	Error Trace:	/Users/bryce/src/pulumi/sdk/nodejs/cmd/pulumi-language-nodejs/language_test.go:141
            	Error:      	Should be true
            	Test:       	TestLanguage/l2-resource-simple
```
2023-12-11 19:33:34 +00:00
..
pulumi-test-language [ci] Improve file diffing (#14786) 2023-12-11 19:33:34 +00:00