Browse Source

Update screenshot file

Vova Tkach 6 years ago
parent
commit
ec1679b5c9
4 changed files with 4 additions and 4 deletions
  1. 1 1
      README.md
  2. BIN
      testdata/screenshots-1.gif
  3. BIN
      testdata/screenshots.gif
  4. 3 3
      utils/utils_test.go

+ 1 - 1
README.md

@@ -1,7 +1,7 @@
 # golang-fave
 CMS written on Go with MySQL as database. Dynamical, splitted by modules, user friendly and thanks bootstrap is fully adaptive for mobile devices and tablets. Thanks Go language it's fastern, all in one binary file, no need to install additional web servers. Go native template with vars allow to do almost all what are need.
 
-![](testdata/screenshots.gif)
+![](testdata/screenshots-1.gif)
 
 ## Usage
 ```

BIN
testdata/screenshots-1.gif


BIN
testdata/screenshots.gif


+ 3 - 3
utils/utils_test.go

@@ -16,19 +16,19 @@ func Expect(t *testing.T, actual, expect interface{}) {
 }
 
 func TestIsFileExists(t *testing.T) {
-	Expect(t, IsFileExists("./../testdata/screenshots.gif"), true)
+	Expect(t, IsFileExists("./../testdata/screenshots-1.gif"), true)
 	Expect(t, IsFileExists("./../testdata/no-existed-file"), false)
 }
 
 func TestIsDir(t *testing.T) {
 	Expect(t, IsDir("./../testdata"), true)
-	Expect(t, IsDir("./../testdata/screenshots.gif"), false)
+	Expect(t, IsDir("./../testdata/screenshots-1.gif"), false)
 	Expect(t, IsDir("./../testdata/no-existed-dir"), false)
 }
 
 func TestIsDirExists(t *testing.T) {
 	Expect(t, IsDirExists("./../testdata"), true)
-	Expect(t, IsDirExists("./../testdata/screenshots.gif"), false)
+	Expect(t, IsDirExists("./../testdata/screenshots-1.gif"), false)
 	Expect(t, IsDirExists("./../testdata/no-existed-dir"), false)
 }