1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-02-21 20:47:37 +02:00
starter/mssql_func/mssql_func_test.go
Nikitin Aleksandr 66e89131a4 сделал log
2023-04-25 17:28:10 +03:00

18 lines
297 B
Go

package postgres_func
import (
"testing"
"time"
)
func TestStringSQLTime(t *testing.T) {
var loc = time.Local
time1 := time.Date(2023, 1, 1, 0, 0, 0, 0, loc)
Otvet := StringSQLTime(time1)
if Otvet != "'20230101 00:00:00'" {
t.Error("postgres_func_test.TestStringSQLTime() error")
}
}