Browse Source

Reorder files

Vova Tkach 6 years ago
parent
commit
53f13b890c
5 changed files with 9 additions and 9 deletions
  1. 1 1
      README.md
  2. 0 0
      support/schema.sql
  3. 0 0
      support/screenshots-1.gif
  4. 0 0
      support/some-file.txt
  5. 8 8
      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-1.gif)
+![](support/screenshots-1.gif)
 
 ## Usage
 ```

+ 0 - 0
database/schema.sql → support/schema.sql


+ 0 - 0
testdata/screenshots-1.gif → support/screenshots-1.gif


+ 0 - 0
testdata/some-file.txt → support/some-file.txt


+ 8 - 8
utils/utils_test.go

@@ -16,20 +16,20 @@ func Expect(t *testing.T, actual, expect interface{}) {
 }
 
 func TestIsFileExists(t *testing.T) {
-	Expect(t, IsFileExists("./../testdata/some-file.txt"), true)
-	Expect(t, IsFileExists("./../testdata/no-existed-file"), false)
+	Expect(t, IsFileExists("./../support/some-file.txt"), true)
+	Expect(t, IsFileExists("./../support/no-existed-file"), false)
 }
 
 func TestIsDir(t *testing.T) {
-	Expect(t, IsDir("./../testdata"), true)
-	Expect(t, IsDir("./../testdata/some-file.txt"), false)
-	Expect(t, IsDir("./../testdata/no-existed-dir"), false)
+	Expect(t, IsDir("./../support"), true)
+	Expect(t, IsDir("./../support/some-file.txt"), false)
+	Expect(t, IsDir("./../support/no-existed-dir"), false)
 }
 
 func TestIsDirExists(t *testing.T) {
-	Expect(t, IsDirExists("./../testdata"), true)
-	Expect(t, IsDirExists("./../testdata/some-file.txt"), false)
-	Expect(t, IsDirExists("./../testdata/no-existed-dir"), false)
+	Expect(t, IsDirExists("./../support"), true)
+	Expect(t, IsDirExists("./../support/some-file.txt"), false)
+	Expect(t, IsDirExists("./../support/no-existed-dir"), false)
 }
 
 func TestIsNumeric(t *testing.T) {