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
assert.equal(def.length,1,'Definition length is incorrect');
113
-
assert.equal(`${def[0].range.start.line},${def[0].range.start.character}`,'19,0','Start position is incorrect');
114
-
assert.equal(`${def[0].range.end.line},${def[0].range.end.character}`,'26,42','End position is incorrect');
113
+
if(!def[0].uri.fsPath.endsWith('operations.py')){
114
+
assert.fail(def[0].uri.fsPath,'operations.py','Source of sudo is incorrect','file source');
115
+
}
116
+
assert.equal(`${def[0].range.start.line},${def[0].range.start.character}`,'1094,0','Start position is incorrect (3rd part operations.py could have changed)');
117
+
assert.equal(`${def[0].range.end.line},${def[0].range.end.character}`,'1148,4','End position is incorrect (3rd part operations.py could have changed)');
assert.fail(def[0].contents[0].toString(),"","'def capitalize' is missing","compare");
295
+
}
296
+
if(def[0].contents[0].toString().indexOf("Return a capitalized version of S")===-1&&
297
+
def[0].contents[0].toString().indexOf("Return a copy of the string S with only its first character")===-1){
298
+
assert.fail(def[0].contents[0].toString(),"","'Return a capitalized version of S/Return a copy of the string S with only its first character' message missing","compare");
0 commit comments