diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-22 15:43:46 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-22 16:13:21 +0100 |
| commit | 643fa17fde858c2d6f934dcc435eb84843cc172e (patch) | |
| tree | 93c41e7e2a862b4d3e192033bb987a743d6209e1 /tests/list.rs | |
| parent | 0762d44a9ec3d8a5477e171933428cd9749e0659 (diff) | |
fix: typos and improve copy
when finding repo announcements
add a hint to find naddr on gitworkshop.dev
Diffstat (limited to 'tests/list.rs')
| -rw-r--r-- | tests/list.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/list.rs b/tests/list.rs index 0005053..22d82fd 100644 --- a/tests/list.rs +++ b/tests/list.rs | |||
| @@ -157,7 +157,9 @@ mod cannot_find_repo_event { | |||
| 157 | let test_repo = GitTestRepo::without_repo_in_git_config(); | 157 | let test_repo = GitTestRepo::without_repo_in_git_config(); |
| 158 | test_repo.populate()?; | 158 | test_repo.populate()?; |
| 159 | let mut p = CliTester::new_from_dir(&test_repo.dir, ["list"]); | 159 | let mut p = CliTester::new_from_dir(&test_repo.dir, ["list"]); |
| 160 | 160 | p.expect( | |
| 161 | "hint: https://gitworkshop.dev/repos lists repositories and their naddr\r\n", | ||
| 162 | )?; | ||
| 161 | if invalid_input { | 163 | if invalid_input { |
| 162 | let mut input = p.expect_input("repository naddr")?; | 164 | let mut input = p.expect_input("repository naddr")?; |
| 163 | input.succeeds_with("dfgvfvfzadvd")?; | 165 | input.succeeds_with("dfgvfvfzadvd")?; |