Skip to content

Commit 5a69fbc

Browse files
committed
20200928 update 1 : update test data folder
1 parent 75a0cbd commit 5a69fbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

base_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (bt *BaseTest) GetTestNumber() int {
5656
func NewBaseTest() *BaseTest {
5757
bt := &BaseTest{
5858
remoteFolder: "GoTest",
59-
localTestDataFolder: "../TestData/",
59+
localTestDataFolder: "TestData/",
6060
TestNumber: 0,
6161
// Get App key and App SID from https://aspose.cloud
6262
CellsAPI: NewCellsApiService("91A2FD07-BBA1-4B32-9112-ABFB1FE8AEBD", "0fbf678c5ecabdb5caca48452a736dd0", "https://api-qa.aspose.cloud", "v3.0"),
@@ -81,7 +81,7 @@ func GetBook1() string {
8181
}
8282

8383
func GetWorkbook() []byte {
84-
file, err := os.Open("../TestData/Book1.xlsx")
84+
file, err := os.Open("TestData/Book1.xlsx")
8585
if err != nil {
8686
return nil
8787
}
@@ -90,7 +90,7 @@ func GetWorkbook() []byte {
9090
}
9191

9292
func GetPng() string {
93-
f, err := ioutil.ReadFile("../TestData/WaterMark.png")
93+
f, err := ioutil.ReadFile("TestData/WaterMark.png")
9494
if err != nil {
9595
fmt.Println("read fail", err)
9696
}

0 commit comments

Comments
 (0)