Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6193f47

Browse files
committed
1.0.7 调整了输出期望结果和实际结果的顺序。
1 parent 6ce621d commit 6193f47

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ All notable changes to the "leetcode" extension will be documented in this file.
55
修改了解析文本的获取方式,不需要将描述放在代码注释中了。
66
# "version": "1.0.6",
77
更新了 imports.py
8+
# "version": "1.0.7",
9+
调整了输出期望结果和实际结果的顺序。

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "python-leetcode",
33
"displayName": "PythonLeetcode",
44
"description": "Solve LeetCode problems in VS Code",
5-
"version": "1.0.6",
5+
"version": "1.0.7",
66
"author": "KuiyuanFu",
77
"publisher": "KuiyuanFu",
88
"license": "MIT",

src/leetCodeExecutor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,10 @@ class LeetCodeExecutor implements Disposable {
362362
block.push(" print('Example " + (exampleIndex + 1) + ":')",)
363363
block.push(" print('Input : ')",)
364364
block.push(" print('" + example[0] + "')",)
365-
block.push(" print('Output :')",)
366-
block.push(" print(str(Solution()." + funcName + "(" + para + ")))",)
367365
block.push(" print('Exception :')",)
368366
block.push(" print('" + example[1] + "')",)
367+
block.push(" print('Output :')",)
368+
block.push(" print(str(Solution()." + funcName + "(" + para + ")))",)
369369
block.push(" print()",)
370370
block.push(" ",)
371371
});

0 commit comments

Comments
 (0)