Commit 734e4b8
committed
Add unit tests for apply() method handling empty and slash-prefixed URIs
- Added tests for RootUriTemplateHandler.apply() covering:
- URIs starting with '/'
- Empty string
- Blank string
- Absolute URLs
- Relative paths
- Ensures apply() behaves as expected in all edge cases
Signed-off-by: Hyunwoo Gu <realization0327@gmail.com>1 parent 73984c6 commit 734e4b8
File tree
1 file changed
+9
-0
lines changed- module/spring-boot-restclient/src/test/java/org/springframework/boot/restclient
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
46 | 55 | | |
0 commit comments