• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

harttle / liquidjs / 28188014204
100%

Build:
DEFAULT BRANCH: master
Ran 25 Jun 2026 05:21PM UTC
Jobs 1
Files 119
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jun 2026 05:19PM UTC coverage: 99.544%. Remained the same
28188014204

push

github

web-flow
fix(filters): modulo should follow divisor sign for negative operands (#922)

The `modulo` filter used JavaScript's `%` (truncated remainder, sign
follows the dividend). Shopify/Ruby Liquid uses floored modulo, where the
result takes the sign of the divisor. Since liquidjs advertises Shopify
compatibility, negative operands produced the wrong sign.

Use `((v % arg) + arg) % arg` to match Ruby's `%`. Positive-operand
results are unchanged.

1132 of 1144 branches covered (98.95%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

3015 of 3022 relevant lines covered (99.77%)

21595.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28188014204.1 25 Jun 2026 05:21PM UTC 119
99.54
GitHub Action Run
Source Files on build 28188014204
  • Tree
  • List 119
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 568bd5f9 on github
  • Prev Build on master (#28016992098)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc