Commit c8fc337
test: assert the full confirmation titles instead of substrings
The two CodeLens confirmation tests used partial assertions: `includes('3.12.4')`
and `!includes('(')`. Both are weak -- the first passes on any message that merely
contains the version, and the second only asserts the absence of a character, so it
verified nothing about the versionless text at all.
Both now assert the complete localized title with assert.strictEqual. Confirmed
load-bearing by mutation: renaming the message to "Script env ready" leaves both
old assertions green while both new ones fail.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 9f6b241 commit c8fc337
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments