summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/tests/servicestests/src/com/android/server/pm/UserManagerServiceShellCommandTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/tests/servicestests/src/com/android/server/pm/UserManagerServiceShellCommandTest.java b/services/tests/servicestests/src/com/android/server/pm/UserManagerServiceShellCommandTest.java
index 32c9e75e1288..697f4d46d16a 100644
--- a/services/tests/servicestests/src/com/android/server/pm/UserManagerServiceShellCommandTest.java
+++ b/services/tests/servicestests/src/com/android/server/pm/UserManagerServiceShellCommandTest.java
@@ -107,7 +107,7 @@ public class UserManagerServiceShellCommandTest {
new String[]{"get-main-user"}, mShellCallback, mResultReceiver));
mWriter.flush();
- assertEquals("Main user id: 12", mOutStream.toString().trim());
+ assertEquals("12", mOutStream.toString().trim());
}
@Test
@@ -118,7 +118,7 @@ public class UserManagerServiceShellCommandTest {
assertEquals(1, mCommand.exec(mBinder, in, out, err,
new String[]{"get-main-user"}, mShellCallback, mResultReceiver));
mWriter.flush();
- assertEquals("Couldn't get main user.", mOutStream.toString().trim());
+ assertEquals("None", mOutStream.toString().trim());
}
@Test