File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ describe("Job", function()
9999 assert .are .same (job :result (), results )
100100 end )
101101
102- pending (" should split stdin across newlines with no ending newline" , function ()
102+ it (" should split stdin across newlines with no ending newline" , function ()
103103 local results = {}
104104 local job = Job :new {
105105 -- writer = "hello\nword\nthis is\ntj",
@@ -113,6 +113,8 @@ describe("Job", function()
113113 job :start ()
114114 job :send " hello\n wor"
115115 job :send " ld"
116+
117+ wait_for_result (job , { " hello" , " world" })
116118 job :shutdown ()
117119
118120 assert .are .same (job :result (), { " hello" , " world" })
@@ -137,7 +139,7 @@ describe("Job", function()
137139 assert .are .same (job :result (), results )
138140 end )
139141
140- pending (" should return last line when there is no ending newline" , function ()
142+ it (" should return last line when there is no ending newline" , function ()
141143 local results = {}
142144 local job = Job :new {
143145 command = " printf" ,
You can’t perform that action at this time.
0 commit comments