Commit 5bdb662
committed
Fix TestHelloWorldAppExample
The test should be checking that the HTTP response *contains* the text "Hello, World" rather than checking for exact equality. It turns out the book itself had the right code in it, but when copying the test code to this repo, I somehow got an old versison of this one test.1 parent ddb2965 commit 5bdb662
File tree
1 file changed
+6
-6
lines changed- code/terraform/07-testing-terraform-code/test
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | | - | |
| 43 | + | |
46 | 44 | | |
47 | 45 | | |
48 | | - | |
49 | | - | |
50 | 46 | | |
51 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
0 commit comments