File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,16 @@ func TestDotfiles(t *testing.T) {
39
39
err = c .Run ()
40
40
assert .NoError (t , err )
41
41
42
+ c = exec .Command ("git" , "config" , "user.email" , "ci@coder.com" )
43
+ c .Dir = testRepo
44
+ err = c .Run ()
45
+ assert .NoError (t , err )
46
+
47
+ c = exec .Command ("git" , "config" , "user.name" , "C I" )
48
+ c .Dir = testRepo
49
+ err = c .Run ()
50
+ assert .NoError (t , err )
51
+
42
52
c = exec .Command ("git" , "commit" , "-m" , `"add .bashrc"` )
43
53
c .Dir = testRepo
44
54
out , err := c .CombinedOutput ()
@@ -72,6 +82,16 @@ func TestDotfiles(t *testing.T) {
72
82
err = c .Run ()
73
83
assert .NoError (t , err )
74
84
85
+ c = exec .Command ("git" , "config" , "user.email" , "ci@coder.com" )
86
+ c .Dir = testRepo
87
+ err = c .Run ()
88
+ assert .NoError (t , err )
89
+
90
+ c = exec .Command ("git" , "config" , "user.name" , "C I" )
91
+ c .Dir = testRepo
92
+ err = c .Run ()
93
+ assert .NoError (t , err )
94
+
75
95
c = exec .Command ("git" , "commit" , "-m" , `"add install.sh"` )
76
96
c .Dir = testRepo
77
97
err = c .Run ()
You can’t perform that action at this time.
0 commit comments