⚡ refactor project structure by renaming files and updating test function signature
@ -4,7 +4,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestAsServiceError(c) {
|
func TestAsServiceError(t *testing.T) {
|
||||||
serviceError := ErrNotFound
|
serviceError := ErrNotFound
|
||||||
err := AsServiceError(serviceError)
|
err := AsServiceError(serviceError)
|
||||||
if err.Code != serviceError.Code || err.Message != serviceError.Message {
|
if err.Code != serviceError.Code || err.Message != serviceError.Message {
|
||||||
|
Before Width: | Height: | Size: 391 B After Width: | Height: | Size: 391 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 385 B After Width: | Height: | Size: 385 B |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |