mirror of
https://github.com/astaxie/beego.git
synced 2025-07-07 08:10:18 +00:00
added FlashName,FlashSeperator, & Tests
This commit is contained in:
15
config_test.go
Normal file
15
config_test.go
Normal file
@ -0,0 +1,15 @@
|
||||
package beego
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestDefaults(t *testing.T) {
|
||||
if FlashName != "BEEGO_FLASH" {
|
||||
t.Errorf("FlashName was not set to default.")
|
||||
}
|
||||
|
||||
if FlashSeperator != "BEEGOFLASH" {
|
||||
t.Errorf("FlashName was not set to default.")
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user