Commit a40908d
committed
minor #487 [Store] Add
This PR was merged into the main branch.
Discussion
----------
[Store] Add `withContent` validation test case
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| Docs? | no
| Issues | --
| License | MIT
Add test case to verify that `TextDocument::withContent()` properly validates the new content parameter and throws InvalidArgumentException when given empty or whitespace-only content.
Commits
-------
13352b3 [Store] Add withContent validation test casewithContent validation test case (OskarStark)1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
268 | 279 | | |
0 commit comments