Skip to content

Commit

Permalink
Improve NavBackStackEntryTest
Browse files Browse the repository at this point in the history
  • Loading branch information
zsmb13 committed May 18, 2024
1 parent 85a0134 commit 54918e3
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ class NavBackStackEntryTest : RoboTest() {

val entry = createNavBackstackEntry(arguments = argBundle)

assertEquals(argBundle.keySet(), entry.requireArguments().keySet())
val args = entry.requireArguments()

assertEquals(argBundle.keySet(), args.keySet())
argBundle.keySet().forEach { key ->
@Suppress("DEPRECATION")
assertEquals(argBundle[key], args[key])
}
}
}

0 comments on commit 54918e3

Please sign in to comment.