From 16828e2e837551df644d55705929ae111ddb4698 Mon Sep 17 00:00:00 2001 From: emli Date: Tue, 20 Feb 2018 16:16:57 +0600 Subject: [PATCH] #194 Continuous integration for Gorjun Add new version of Golang --- .travis.yml | 2 +- libgorjun/gorjun_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 408496f..1e7c6f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: go sudo: enabled go: - - 1.9.4 + - '1.10' script: - go get - make diff --git a/libgorjun/gorjun_test.go b/libgorjun/gorjun_test.go index eeaaf32..d9e02f5 100644 --- a/libgorjun/gorjun_test.go +++ b/libgorjun/gorjun_test.go @@ -84,10 +84,10 @@ func TestRemoveTemplate(t *testing.T) { t.Errorf("Failed to upload: %v", err) } fmt.Printf("Template uploaded successfully, id : %s\n", id) - //err = g.RemoveFileByID(id,"template") - //if err != nil { - // t.Errorf("Failed to remove file: %v", err) - //} + err = g.RemoveFileByID(id,"template") + if err != nil { + t.Errorf("Failed to remove file: %v", err) + } fmt.Printf("Template removed successfully, id : %s\n", id) }