be.OK #8
Unanswered
earthboundkid
asked this question in
Ideas
Replies: 1 comment
-
defer be.OkayCheck(t)
f := be.Okay(os.Open("foo"))and IDK, wouldn't work with Relaxed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can't pass through os.Open's results and take a testing.T, and if the testing.T is first, you can't infer the os.File, so it's backwards, but it does work and is the majority case.
See #9
Beta Was this translation helpful? Give feedback.
All reactions