You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am not very familiar with golang.
Below is a simple function I wrote that returns the User-Agent value.
Having verified that I could get the User-Agent value, I wrote the getUserAgent test code.
But when I run the test, I get the following error
What kind of test code should I write to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions