Skip to content

Commit a6ecb66

Browse files
committed
Merge branch 'develop'
2 parents 04753e8 + 8a04db8 commit a6ecb66

File tree

8 files changed

+63
-78
lines changed

8 files changed

+63
-78
lines changed

Cargo.lock

Lines changed: 28 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "git-repo-manager"
3-
version = "0.7.8"
3+
version = "0.7.9"
44
edition = "2021"
55

66
authors = [
@@ -54,11 +54,11 @@ version = "=0.15.0"
5454
version = "=2.1.2"
5555

5656
[dependencies.clap]
57-
version = "=3.2.22"
57+
version = "=4.0.10"
5858
features = ["derive", "cargo"]
5959

6060
[dependencies.console]
61-
version = "=0.15.1"
61+
version = "=0.15.2"
6262

6363
[dependencies.regex]
6464
version = "=1.6.0"

Justfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
set positional-arguments
22

3+
set shell := ["/bin/bash", "-c"]
4+
35
static_target := "x86_64-unknown-linux-musl"
46

57
check: fmt-check lint test

e2e_tests/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def get_temporary_directory(dir=None):
2828
def grm(args, cwd=None, is_invalid=False):
2929
cmd = subprocess.run([binary] + args, cwd=cwd, capture_output=True, text=True)
3030
if not is_invalid:
31-
assert "USAGE" not in cmd.stderr
31+
assert "usage" not in cmd.stderr.lower()
3232
print(f"grmcmd: {args}")
3333
print(f"stdout:\n{cmd.stdout}")
3434
print(f"stderr:\n{cmd.stderr}")

e2e_tests/test_basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
def test_invalid_command():
77
cmd = grm(["whatever"], is_invalid=True)
8-
assert "USAGE" in cmd.stderr
8+
assert "usage" in cmd.stderr.lower()
99

1010

1111
def test_help():
1212
cmd = grm(["--help"])
13-
assert "USAGE" in cmd.stdout
13+
assert "usage" in cmd.stdout.lower()

0 commit comments

Comments
 (0)