Skip to content

Commit 39fe5d4

Browse files
nift4keyboardsurfer
authored andcommitted
MacrobenchmarkSample: fix small typo in clear data utility function
1 parent 5a91c8a commit 39fe5d4

File tree

1 file changed

+1
-1
lines changed
  • MacrobenchmarkSample/macrobenchmark/src/main/kotlin/com/example/macrobenchmark/baselineprofile

1 file changed

+1
-1
lines changed

MacrobenchmarkSample/macrobenchmark/src/main/kotlin/com/example/macrobenchmark/baselineprofile/Common.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const val TARGET_PACKAGE = "com.example.macrobenchmark.target"
2727
* including the package name of the app under test.
2828
*/
2929
fun UiDevice.clearData(scope: MacrobenchmarkScope) {
30-
val command = "pm clear $scope.packageName"
30+
val command = "pm clear ${scope.packageName}"
3131
val output = executeShellCommand(command)
3232
// Assert.assertEquals("Success", output)
3333
}

0 commit comments

Comments
 (0)