瀏覽代碼

fix tests

tags/1.0.11
peter 3 年之前
父節點
當前提交
5dcb9f59fe
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      test/Test.ts

+ 2
- 2
test/Test.ts 查看文件

@@ -64,7 +64,7 @@ describe('Tags / Versioning', () => {
64 64
                 done()    
65 65
             else{
66 66
                 console.log(status)
67
-                done(new Error('Tags did not match expected values'))            
67
+                done(new Error('Tags did not match expected values. Expected: '+status.latestTag+", but got: "+status.currentTag))            
68 68
             }
69 69
         })
70 70
     })
@@ -75,7 +75,7 @@ describe('Tags / Versioning', () => {
75 75
                 done()
76 76
             else{
77 77
                 console.log(status)
78
-                done(new Error('Did not check out 1.0.7'))
78
+                done(new Error('Did not check out 1.0.7. Was: '+status.currentTag))
79 79
             }
80 80
         })
81 81
     })

Loading…
取消
儲存