Menu

1 / 2

Reach 100% line and branch coverage by rust · Pull Request #538 · jpmobile/jpmobile

GitHub Public Timeline Feed·rust·5 days ago
#3bILNoTt
Reading 0:00
15s threshold

and others added 2 commits

October 1, 2026 20:21

Add specs for AbstractMobile's default charset, the base Client Hints check, the params fallback and skipping a self predicate, for adding lib to the load path, and for not loading the test request hook outside the test environment.

Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WymJYCdiCabZ3uTcLXFKe7

AbstractMobile's class body runs before Mobile.carriers= can be called, and the default carriers never include AbstractMobile, so the guard never fires. Remove it along with the spec_helper setup that only existed to reach it, and note why the load path spec reloads jpmobile.rb.

Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WymJYCdiCabZ3uTcLXFKe7

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.