We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c07bc7 commit 44528faCopy full SHA for 44528fa
internal/bcrypt/ntstatus_test.go
@@ -5,6 +5,13 @@ import "testing"
5
func TestNTStatusErrMessage(t *testing.T) {
6
7
StatusWait1 := NTStatus(0x00000001)
8
+ StatusWait2 := NTStatus(0x00000002)
9
- t.Error(StatusWait1.Error())
10
+ if StatusWait1.Error() != "STATUS_WAIT_1" {
11
+ t.Errorf("Expected STATUS_WAIT_2, got %s", StatusWait2.Error())
12
+ }
13
+
14
+ if StatusWait2.Error() != "STATUS_WAIT_2" {
15
16
17
}
0 commit comments