Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation = "https://docs.rs/embedded-hal-mock"
keywords = ["hal", "io", "spi", "i2c", "delay"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/dbrgn/embedded-hal-mock"
repository = "https://github.com/rust-embedded/embedded-hal-mock"
include = [
"**/*.rs",
"Cargo.toml",
Expand Down
2 changes: 1 addition & 1 deletion LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2018-2024 Danilo Bargen and contributors
Copyright (C) Danilo Bargen and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.

<!-- Badges -->
[github-actions]: https://github.com/dbrgn/embedded-hal-mock/actions/workflows/ci.yml
[github-actions-badge]: https://github.com/dbrgn/embedded-hal-mock/actions/workflows/ci.yml/badge.svg
[github-actions]: https://github.com/rust-embedded/embedded-hal-mock/actions/workflows/ci.yml
[github-actions-badge]: https://github.com/rust-embedded/embedded-hal-mock/actions/workflows/ci.yml/badge.svg
[crates-io]: https://crates.io/crates/embedded-hal-mock
[version-badge]: https://img.shields.io/crates/v/embedded-hal-mock.svg
4 changes: 2 additions & 2 deletions src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl Drop for DoneCallDetector {
if !self.called && !thread::panicking() {
let msg = "WARNING: A mock (from embedded-hal-mock) was dropped \
without calling the `.done()` method. \
See https://github.com/dbrgn/embedded-hal-mock/issues/34 \
See https://github.com/rust-embedded/embedded-hal-mock/issues/34 \
for more details.";

// Note: We cannot use the print macros here, since they get
Expand Down Expand Up @@ -193,7 +193,7 @@ mod tests {

#[test]
#[should_panic(
expected = "WARNING: A mock (from embedded-hal-mock) was dropped without calling the `.done()` method. See https://github.com/dbrgn/embedded-hal-mock/issues/34 for more details."
expected = "WARNING: A mock (from embedded-hal-mock) was dropped without calling the `.done()` method. See https://github.com/rust-embedded/embedded-hal-mock/issues/34 for more details."
)]
fn panic_if_drop_not_called() {
let expectations = [0u8, 1u8];
Expand Down