Просмотр исходного кода

feat(test): add a few trycmd tests as example

Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Sandro-Alessio Gierens 2 лет назад
Родитель
Сommit
e1fe9452e5

+ 0 - 0
tests/cmd/basic.stderr


+ 28 - 0
tests/cmd/basic.stdout

@@ -0,0 +1,28 @@
+build.rs
+Cargo.lock
+Cargo.toml
+CHANGELOG.md
+cliff.toml
+CODE_OF_CONDUCT.md
+completions
+CONTRIBUTING.md
+deb.asc
+deny.toml
+devtools
+dump
+flake.lock
+flake.nix
+Justfile
+LICENCE
+man
+README.md
+rust-toolchain.toml
+screenshots.png
+SECURITY.md
+snap
+src
+target
+tests
+treefmt.nix
+Vagrantfile
+xtests

+ 1 - 0
tests/cmd/basic.toml

@@ -0,0 +1 @@
+bin.name = "eza"

+ 0 - 0
tests/cmd/icons.stderr


+ 28 - 0
tests/cmd/icons.stdout

@@ -0,0 +1,28 @@
+ build.rs
+ Cargo.lock
+ Cargo.toml
+ CHANGELOG.md
+ cliff.toml
+ CODE_OF_CONDUCT.md
+ completions
+ CONTRIBUTING.md
+󰦝 deb.asc
+ deny.toml
+ devtools
+ dump
+ flake.lock
+ flake.nix
+ Justfile
+ LICENCE
+ man
+ README.md
+ rust-toolchain.toml
+ screenshots.png
+ SECURITY.md
+ snap
+ src
+ target
+ tests
+ treefmt.nix
+⍱ Vagrantfile
+ xtests

+ 2 - 0
tests/cmd/icons.toml

@@ -0,0 +1,2 @@
+bin.name = "eza"
+args = "--icons"

+ 0 - 0
tests/cmd/long.stderr


+ 28 - 0
tests/cmd/long.stdout

@@ -0,0 +1,28 @@
+.rw-r--r-- build.rs
+.rw-r--r-- Cargo.lock
+.rw-r--r-- Cargo.toml
+.rw-r--r-- CHANGELOG.md
+.rw-r--r-- cliff.toml
+.rw-r--r-- CODE_OF_CONDUCT.md
+drwxr-xr-x completions
+.rw-r--r-- CONTRIBUTING.md
+.rw-r--r-- deb.asc
+.rw-r--r-- deny.toml
+drwxr-xr-x devtools
+drwxr-xr-x dump
+.rw-r--r-- flake.lock
+.rw-r--r-- flake.nix
+.rw-r--r-- Justfile
+.rw-r--r-- LICENCE
+drwxr-xr-x man
+.rw-r--r-- README.md
+.rw-r--r-- rust-toolchain.toml
+.rw-r--r-- screenshots.png
+.rw-r--r-- SECURITY.md
+drwxr-xr-x snap
+drwxr-xr-x src
+drwxr-xr-x target
+drwxr-xr-x tests
+.rw-r--r-- treefmt.nix
+.rw-r--r-- Vagrantfile
+drwxr-xr-x xtests

+ 2 - 0
tests/cmd/long.toml

@@ -0,0 +1,2 @@
+bin.name = "eza"
+args = "--long --no-user --no-time --no-filesize"