Skip to content

suarezjulian/survey_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Survey Test

Example for AlecAivazis/survey#406

To reproduce:

make test

This will run tests in a loop 100 times and some of them will fail with the following error

--- FAIL: TestAskQuestion (0.02s)
    main_test.go:69: Unexpected output.
        Expected: 
        ? Do you like pizza? Yes                                                        
        Answer true ; 
        Found: 
        ? Do you like pizza? (y/N) y                                                    
        ? Do you like pizza? Yes                                                        
        Answer true

Tested with go version go1.17.6 linux/amd64 in Ubuntu 21.10

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published