Skip to content

Commit 57452eb

Browse files
committed
fix debug lines in test
1 parent 5547b9e commit 57452eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

__tests__/setup-go.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ describe('setup-go', () => {
9898
logSpy = jest.spyOn(core, 'info');
9999
dbgSpy = jest.spyOn(core, 'debug');
100100
getSpy.mockImplementation(() => <im.IGoVersion[] | null>goJsonData);
101-
cnSpy.mockImplementation((line) => {
101+
cnSpy.mockImplementation(line => {
102102
// uncomment to debug
103103
// process.stderr.write('write:' + line + '\n');
104104
});
105-
logSpy.mockImplementation((line) => {
105+
logSpy.mockImplementation(line => {
106106
// uncomment to debug
107107
//process.stderr.write('log:' + line + '\n');
108108
});
109-
dbgSpy.mockImplementation((line) => {
109+
dbgSpy.mockImplementation(msg => {
110110
// uncomment to see debug output
111111
// process.stderr.write(msg + '\n');
112112
});

0 commit comments

Comments
 (0)