fix: keep verified Steam navigation

This commit is contained in:
Kurt Himebauch committed 2026-10-28 18:24:46 -04:00
1 parent 3ccf8ca01a
commit ea8feebea7
6 files changed
+6 -7

No files matched your search

@@ -7,9 +7,9 @@ import org.junit.Test
class SteamSessionUrlTest {
@Test
fun onlySupportedSteamNavigationRoutesAreAccepted() {
listOf("steam://open/downloads", "steam://nav/library", "steam://uninstall/12345")
listOf("steam://open/downloads", "steam://uninstall/12345")
.forEach { assertTrue(it, SteamSessionUrl.isSupported(it)) }
listOf("steam://open/settings", "steam://uninstall/0", "steam://uninstall/01",
listOf("steam://open/settings", "steam://nav/library", "steam://uninstall/0", "steam://uninstall/01",
"steam://open/downloads\n--exec", "https://example.com")
.forEach { assertFalse(it, SteamSessionUrl.isSupported(it)) }
}