markor icon indicating copy to clipboard operation
markor copied to clipboard

New Wikitext file template doesn’t match expected content

Open MusmusIRQ opened this issue 2 months ago • 0 comments

⚠️ This issue respects the following points: ⚠️

  • [x] This is a bug. Not a question or feature request.
  • [x] The topic is not already reported at Issues. (I've searched it).
  • [x] Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • [x] The bug is still present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

Description

Expected: The template matches the canonical wikitext header defined in the tests (see WikitextFileTests.java). Actual: The test fails with a ComparisonFailure, indicating the generated document differs from the expected header (extra/missing lines or formatting). The mismatch needs to be reconciled either by adjusting the template or the test expectations.

Steps to reproduce

  1. Run ./gradlew testFlavorDefaultDebugUnitTest (or open a new wikitext file through the app’s “New file” dialog).
  2. Trigger creation of the default wikitext document.
  3. Observe the generated file contents.

Information

Android version: Device: macOS App Version: latest

Source

F-Droid

Format / File type

Not specific

Additional info / Log

-

MusmusIRQ avatar Nov 08 '25 18:11 MusmusIRQ