summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Morales <anmorales@google.com>2016-01-13 12:56:32 -0800
committerAndres Morales <anmorales@google.com>2016-01-13 12:56:32 -0800
commit7d0b0ba3e988ac33ab9357ea11a03944d3cc4365 (patch)
treeafa312d2cfc9eea88205aea7d19cec01c071dbea
parentd14f472dcc6742481f687cb16f5a3115026e1c74 (diff)
downloadgatekeeper-7d0b0ba3e988ac33ab9357ea11a03944d3cc4365.tar.gz
fix gatekeper_device_test
ASSERT_LT parameters were in the wrong order Change-Id: I7c5a5eb4a44e0dabd21d5d2e7b00d8bff3e774c7
-rw-r--r--tests/gatekeeper_device_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gatekeeper_device_test.cpp b/tests/gatekeeper_device_test.cpp
index d2283ec..9c4c82f 100644
--- a/tests/gatekeeper_device_test.cpp
+++ b/tests/gatekeeper_device_test.cpp
@@ -195,7 +195,7 @@ TEST_F(GateKeeperDeviceTest, MinFailedAttemptsBeforeLockout) {
password_payload, password_len, &auth_token, &auth_token_len,
&should_reenroll);
// shoudln't be a timeout
- ASSERT_LT(0, ret);
+ ASSERT_LT(ret, 0);
}
}