mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2025-02-21 20:47:12 +02:00
сделал %w
This commit is contained in:
parent
b41c2c83c0
commit
a4a9e58bb0
@ -20,13 +20,13 @@ func TestReadFromCache(t *testing.T) {
|
||||
m1.ID = Postgres_ID_Test
|
||||
err = Crud_DB{}.Read(&m1)
|
||||
if err != nil {
|
||||
t.Errorf("TestReadFromCache() error:t %w", err)
|
||||
t.Errorf("TestReadFromCache() error:t %v", err)
|
||||
}
|
||||
|
||||
//читаем из Кеша
|
||||
m2, err := Crud_DB{}.ReadFromCache(Postgres_ID_Test)
|
||||
if err != nil {
|
||||
t.Errorf("TestReadFromCache() error: %w", err)
|
||||
t.Errorf("TestReadFromCache() error: %v", err)
|
||||
}
|
||||
|
||||
//сравниваем
|
||||
|
Loading…
x
Reference in New Issue
Block a user