File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,27 +56,27 @@ assert_pw_home() {
5656}
5757
5858@test " generates and prints password" {
59- export PW_GEN_LENGTH=5
59+ export PW_GEN_LENGTH=1
6060 export PW_GEN_CLASS=" 1"
6161 run pw -p gen
6262 assert_success
63- assert_output " 11111 "
63+ assert_output " 1 "
6464}
6565
6666@test " generates password with specified length" {
67- export PW_GEN_LENGTH=5
67+ export PW_GEN_LENGTH=2
6868 export PW_GEN_CLASS=" 1"
69- run pw -p gen 8
69+ run pw -p gen 1
7070 assert_success
71- assert_output " 11111111 "
71+ assert_output " 1 "
7272}
7373
7474@test " generates password with specified character class" {
75- export PW_GEN_LENGTH=5
75+ export PW_GEN_LENGTH=2
7676 export PW_GEN_CLASS=" 1"
77- run pw -p gen 8 " 2"
77+ run pw -p gen 1 " 2"
7878 assert_success
79- assert_output " 22222222 "
79+ assert_output " 2 "
8080}
8181
8282# @test "BusyBox: replaces [:graph:] with [:alnum:][:punct:]" {
You can’t perform that action at this time.
0 commit comments