You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by tn...@apache.org on 2016/10/27 14:49:13 UTC
[2/2] mesos git commit: Adding fromString test in UUIDTest testcase.
Adding fromString test in UUIDTest testcase.
Review: https://reviews.apache.org/r/53128/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9dfb30bb
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9dfb30bb
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/9dfb30bb
Branch: refs/heads/master
Commit: 9dfb30bb4e22a00edf2db560a95c8f97024f6075
Parents: 388bc4d
Author: Manuwela Kanade <ma...@gmail.com>
Authored: Wed Oct 26 22:21:00 2016 -0700
Committer: Timothy Chen <tn...@gmail.com>
Committed: Thu Oct 27 07:48:35 2016 -0700
----------------------------------------------------------------------
3rdparty/stout/tests/uuid_tests.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/9dfb30bb/3rdparty/stout/tests/uuid_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/tests/uuid_tests.cpp b/3rdparty/stout/tests/uuid_tests.cpp
index fe9894a..1fbd623 100644
--- a/3rdparty/stout/tests/uuid_tests.cpp
+++ b/3rdparty/stout/tests/uuid_tests.cpp
@@ -60,6 +60,6 @@ TEST(UUIDTest, MalformedUUID)
EXPECT_SOME(UUID::fromBytes(UUID::random().toBytes()));
EXPECT_ERROR(UUID::fromBytes("malformed-uuid"));
EXPECT_ERROR(UUID::fromBytes("invalidstringmsg"));
-
+ EXPECT_SOME(UUID::fromString(UUID::random().toString()));
EXPECT_ERROR(UUID::fromString("malformed-uuid"));
}