You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 24, 2021. It is now read-only.
assert.equal(sortedDiagnostics.length,expected.length,`too many errors ${JSON.stringify(sortedDiagnostics)}`);
394
+
391
395
for(letiinexpected){
392
396
assert.equal(sortedDiagnostics[i].line,expected[i].line,`Failed to match expected error #${i}: ${JSON.stringify(sortedDiagnostics)}`);
393
397
assert.equal(sortedDiagnostics[i].severity,expected[i].severity,`Failed to match expected error #${i}: ${JSON.stringify(sortedDiagnostics)}`);
394
398
assert.equal(sortedDiagnostics[i].msg,expected[i].msg,`Failed to match expected error #${i}: ${JSON.stringify(sortedDiagnostics)}`);
395
399
}
396
-
assert.equal(sortedDiagnostics.length,expected.length,`too many errors ${JSON.stringify(sortedDiagnostics)}`);
400
+
397
401
returnPromise.resolve();
398
402
});
399
403
}).then(()=>done(),done);
@@ -855,22 +859,26 @@ It returns the number of bytes written and any write error encountered.
855
859
{file: path.join(linterTestPath,'linter_2.go'),line: 5,severity: 'warning',msg: 'error return value not checked (missing return) (errcheck)'},
856
860
{file: path.join(linterTestPath,'linter_1.go'),line: 5,severity: 'warning',msg: 'exported function ExportedFunc should have comment or be unexported (golint)'},
0 commit comments