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

cljoly / rusqlite_migration
94%
master: 95%

Build:
Build:
LAST BUILD BRANCH: refactor-tests
DEFAULT BRANCH: master
Repo Added 18 Mar 2023 09:10AM UTC
Token pB6wRhQDsdC88inn2GVgCM6IKevWTVuLm regen
Build 891 Last
Files 5
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

LAST BUILD ON BRANCH cj/refactor-tests
branch: cj/refactor-tests
CHANGE BRANCH
x
Reset
Sync Branches
  • cj/refactor-tests
  • 1.3.0-alpha
  • 1.3.1
  • 220
  • NOBLES5E/master
  • add-benchmarks
  • add-coveralls-badge
  • additional-async-tests
  • alpha-130-without-async
  • arc-async
  • async-pkg
  • back-ubuntu-latest
  • badges-update
  • borked-ci
  • bump
  • bump-test-coverage
  • bump-v110a2
  • cargo-locked
  • change-coverage-runner
  • changelog-1.0.2
  • changelog-update
  • changelog-update-20
  • changelog-update-20-alpha
  • ci-perms
  • cj/bump
  • cj/ci-speed-up
  • cj/display-m
  • cj/opt-in-val
  • cj/test-valid-ms
  • cleanup-ci
  • cleanup-tests
  • clement/force-run-ci
  • clippy-fixes
  • clippy-fixes-nov24
  • cljoly-codeowner
  • cljoly-patch-1
  • cljoly-typo
  • const-mirgrations-new
  • coverage
  • cow-lite
  • dependabot/cargo/anyhow-1.0.100
  • dependabot/cargo/anyhow-1.0.81
  • dependabot/cargo/anyhow-1.0.82
  • dependabot/cargo/anyhow-1.0.83
  • dependabot/cargo/anyhow-1.0.86
  • dependabot/cargo/anyhow-1.0.87
  • dependabot/cargo/anyhow-1.0.88
  • dependabot/cargo/anyhow-1.0.89
  • dependabot/cargo/anyhow-1.0.90
  • dependabot/cargo/anyhow-1.0.91
  • dependabot/cargo/anyhow-1.0.92
  • dependabot/cargo/anyhow-1.0.93
  • dependabot/cargo/anyhow-1.0.94
  • dependabot/cargo/anyhow-1.0.95
  • dependabot/cargo/anyhow-1.0.96
  • dependabot/cargo/anyhow-1.0.97
  • dependabot/cargo/anyhow-1.0.98
  • dependabot/cargo/anyhow-1.0.99
  • dependabot/cargo/criterion-0.5
  • dependabot/cargo/criterion-0.6.0
  • dependabot/cargo/criterion-0.7.0
  • dependabot/cargo/env_logger-0.11
  • dependabot/cargo/env_logger-0.11.1
  • dependabot/cargo/env_logger-0.11.5
  • dependabot/cargo/env_logger-0.11.6
  • dependabot/cargo/include_dir-0.7.4
  • dependabot/cargo/insta-1.37.0
  • dependabot/cargo/insta-1.38.0
  • dependabot/cargo/insta-1.39.0
  • dependabot/cargo/insta-1.40.0
  • dependabot/cargo/insta-1.41.0
  • dependabot/cargo/insta-1.41.1
  • dependabot/cargo/insta-1.43.0
  • dependabot/cargo/insta-1.43.1
  • dependabot/cargo/insta-1.43.2
  • dependabot/cargo/lazy_static-1.5.0
  • dependabot/cargo/log-0.4.21
  • dependabot/cargo/log-0.4.22
  • dependabot/cargo/log-0.4.25
  • dependabot/cargo/log-0.4.26
  • dependabot/cargo/log-0.4.27
  • dependabot/cargo/log-0.4.28
  • dependabot/cargo/mio-0.8.11
  • dependabot/cargo/rusqlite-0.32.1
  • dependabot/cargo/slab-0.4.11
  • dependabot/cargo/tokio-1.36.0
  • dependabot/cargo/tokio-1.37.0
  • dependabot/cargo/tokio-1.38.0
  • dependabot/cargo/tokio-1.38.1
  • dependabot/cargo/tokio-1.39.1
  • dependabot/cargo/tokio-1.39.2
  • dependabot/cargo/tokio-1.39.3
  • dependabot/cargo/tokio-1.40.0
  • dependabot/cargo/tokio-1.41.0
  • dependabot/cargo/tokio-1.41.1
  • dependabot/cargo/tokio-1.42.0
  • dependabot/cargo/tokio-1.43.0
  • dependabot/cargo/tokio-1.44.0
  • dependabot/cargo/tokio-1.44.1
  • dependabot/cargo/tokio-1.44.2
  • dependabot/cargo/tokio-1.45.0
  • dependabot/cargo/tokio-1.45.1
  • dependabot/cargo/tokio-1.46.0
  • dependabot/cargo/tokio-1.47.0
  • dependabot/cargo/tokio-1.47.1
  • dependabot/cargo/tokio-test-0.4.4
  • dependabot/cargo/zerocopy-0.7.32
  • deprecate-new_iter
  • deps-trimming
  • dir-no-leading-0
  • doc-badges
  • doc-fixes
  • doc-improvements
  • doc-readme-sync
  • doc-updates
  • docsrs-list-features
  • dont-pin-exact-rusqlite-version
  • down-foreign-key-check
  • eq-tests
  • error-tests
  • exp-readme
  • fix-and-shard-mutants
  • fix-ci
  • fix-ci-lint
  • fix-clippy-error
  • fix-deprecated-insta-macro
  • fix-deprs-shield
  • fix-docs
  • fix-lock
  • fix-readme-deps-badge
  • fix-source-mapping
  • fix-typo-feature-name
  • fix-typos
  • from-directory
  • handle-extra_check
  • ignore-artefacts
  • improved-edit-api
  • insta-doc
  • jolycl/1755207812
  • keep-api-compat-tests
  • license-notices
  • lite
  • manifest-fresh-paint
  • master
  • md-links
  • metadata-doc
  • migrations-to-apply
  • misc-clean-up
  • misc-improvements
  • modernize-cargo-toml
  • more-tests
  • move-benchmarks
  • msrv
  • multi-errors-fkc
  • mutants-fixes
  • new-tokio-rusqlite
  • nightly-coverage
  • on-push
  • openssf
  • optimize-from_directory
  • out-of-bound-user-version
  • patch-1
  • pedantic-fixes
  • prep-without-tokio
  • pub-max_schema_version
  • readme-sourcehut
  • refactor-tests
  • refresh-cargo-toml
  • refs/pull/102/merge
  • refs/pull/103/merge
  • refs/pull/163/merge
  • refs/tags/v1.1.0
  • refs/tags/v1.1.0-alpha.2
  • refs/tags/v1.1.0-beta.1
  • refs/tags/v1.2.0
  • refs/tags/v1.2.0-beta.1
  • refs/tags/v1.3.0
  • refs/tags/v1.3.0-alpha-without-tokio.1
  • refs/tags/v1.3.0-beta.1
  • refs/tags/v1.3.1
  • refs/tags/v2.0.0
  • refs/tags/v2.0.0-alpha.1
  • refs/tags/v2.0.0-beta.1
  • refs/tags/v2.1.0
  • refs/tags/v2.2.0
  • refs/tags/v2.2.0-beta.1
  • refs/tags/v2.3.0
  • release-110-beta1
  • remove-async-iter2
  • remove-badge
  • remove-btreemap
  • remove-dead-code
  • remove-new-iter
  • rename-async-feature-to-alpha
  • require-new-rusqlite
  • rusqlite-033
  • rusqlite-036
  • rust-180
  • simpler-doc-generation
  • speed-up-mutants
  • test-duplication-fix
  • test-fmt
  • tweak-coverage
  • tweak-docs
  • update-actions
  • update-cargo-mutants
  • update-mutants-24.2
  • update-rusqlite
  • v1.1.0
  • version-120
  • version-120-beta1
  • version-130
  • version-130-beta-1
  • version-200
  • version-200-beta-1
  • version-200-beta-1-next
  • version-210

18 May 2025 09:00PM UTC coverage: 94.083%. Remained the same
15099997611

Pull #269

github

cljoly
chore: fix clippy warning in rust 1.87.0

The code is shorter and probably clearer in its intent now.

The error was:
```
warning: use `std::ptr::eq` when comparing raw pointers
   --> rusqlite_migration/src/lib.rs:108:35
    |
108 |             (Some(a), Some(b)) => addr_of!(*a) as usize == addr_of!(*b) as usize,
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(addr_of!(*a), addr_of!(*b))`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq
    = note: `#[warn(clippy::ptr_eq)]` on by default

warning: use `std::ptr::eq` when comparing raw pointers
   --> rusqlite_migration/src/lib.rs:114:35
    |
114 |             (Some(a), Some(b)) => addr_of!(*a) as usize == addr_of!(*b) as usize,
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(addr_of!(*a), addr_of!(*b))`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq

warning: `rusqlite_migration` (lib) generated 2 warnings (run `cargo clippy --fix --lib -p rusqlite_migration` to apply 2 suggestions)
```
Pull Request #269: test: refactor tests, adding downward migrations

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

318 of 338 relevant lines covered (94.08%)

5.38 hits per line

Relevant lines Covered
Build:
Build:
338 RELEVANT LINES 318 COVERED LINES
5.38 HITS PER LINE
Source Files on cj/refactor-tests
  • Tree
  • List 5
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
15099997611 cj/refactor-tests chore: fix clippy warning in rust 1.87.0 The code is shorter and probably clearer in its intent now. The error was: ``` warning: use `std::ptr::eq` when comparing raw pointers --> rusqlite_migration/src/lib.rs:108:35 | 108 | (... Pull #269 18 May 2025 09:02PM UTC cljoly github
94.08
15099944832 cj/refactor-tests test: refactor tests, adding downward migrations This will also be useful when we introduce optional validation of downward migrations (#113) Pull #269 18 May 2025 08:56PM UTC cljoly github
94.08
See All Builds (635)

Badge your Repo: rusqlite_migration

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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

© 2025 Coveralls, Inc