Skip to content

Commit

Permalink
Remove tarpaulin configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborschneider committed Sep 26, 2024
1 parent 512d7ea commit 7624230
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions bgpsim/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ pub mod event;
#[cfg_attr(docsrs, doc(cfg(feature = "export")))]
pub mod export;
pub mod external_router;
#[cfg(not(tarpaulin_include))]
pub mod formatter;
pub mod forwarding_state;
pub mod interactive;
Expand All @@ -239,7 +238,6 @@ pub mod topology_zoo;
pub mod types;

#[cfg(test)]
#[cfg(not(tarpaulin_include))]
mod test;

pub use bgpsim_macros::*;
2 changes: 0 additions & 2 deletions bgpsim/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,6 @@ where
{
/// Checks for weak equivalence, by only comparing the IGP and BGP tables, as well as the event
/// queue. The function also checks that the same routers are present.
#[cfg(not(tarpaulin_include))]
pub fn weak_eq(&self, other: &Self) -> bool {
// check if the queue is the same. Notice that the length of the queue will be checked
// before every element is compared!
Expand Down Expand Up @@ -1175,7 +1174,6 @@ where
Q: EventQueue<P> + PartialEq,
Ospf: OspfImpl,
{
#[cfg(not(tarpaulin_include))]
fn eq(&self, other: &Self) -> bool {
if self.routers != other.routers {
return false;
Expand Down
1 change: 0 additions & 1 deletion bgpsim/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ pub enum NetworkDeviceRef<'a, P: Prefix, Ospf> {
ExternalRouter(&'a ExternalRouter<P>),
}

#[cfg(not(tarpaulin_include))]
impl<'a, P: Prefix, Ospf> NetworkDeviceRef<'a, P, Ospf> {
/// Returns the Router or **panics**, if the enum is not a `NetworkDeviceRef::InternalRouter`
#[track_caller]
Expand Down

0 comments on commit 7624230

Please sign in to comment.