First off, there is something really wrong with your post. Colors make it 
almost unreadable. Please stick to non-colored (black) text, and for output 
text please paste text directly, or use the code block feature provided by 
the google groups website. 

Have you looked at the file "C:\Users\Gini Joseph\GoWorkspace\pkg\mod\
github.com\stretchr\testify@v1.3.0\mock\mock_test.go" and verified that it 
matches https://github.com/stretchr/testify/blob/v1.3.0/mock/mock_test.go ? 
Is it possible that the file was corrupted of modified? Maybe try deleting 
the package and re-downloading?

Also, it might be a good idea to list your go version and platform.


On Monday, March 25, 2019 at 11:42:19 AM UTC-4, Merry wrote:
>
> In go if i am running the unit test test the follwing error appears
>
> # github.com/emisgroup/auth/lambda/user_service/add_role
> package github.com/emisgroup/auth/lambda/user_service/add_role (test)
>     imports github.com/emisgroup/auth/library/datastore/datastoremocks
>     imports github.com/stretchr/testify/mock: 
> \GoWorkspace\pkg\mod\github.com\stretchr\testify@v1.3.0\mock\mock_test.go:1:1:
>  
> expected 'package', found 'EOF'
> FAIL    github.com/emisgroup/auth/lambda/user_service/add_role [setup 
> failed]
> Error: Tests failed.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to