Commit 30e3834
🧪 test: implement missing tests for SubmoduleEntry::is_remote (#42)
- Updated `test_entry_is_remote` in `src/config.rs` with additional edge cases:
- Verifying that a protocol not at the start of the URL string returns false.
- Verifying that a minimal protocol string (e.g., "https://") returns true.
- Added `test_config_submodule_remote_check` to `src/config.rs` to verify remote status on entries added to a `Config` struct.
Addresses the missing testing gap for `is_remote` as specified in the task.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent f1994e2 commit 30e3834
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1259 | 1259 | | |
1260 | 1260 | | |
1261 | 1261 | | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
1262 | 1270 | | |
1263 | 1271 | | |
1264 | 1272 | | |
| |||
2110 | 2118 | | |
2111 | 2119 | | |
2112 | 2120 | | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
2113 | 2141 | | |
0 commit comments