mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-15 16:00:35 +08:00
Instead of creating a named feature flag, opt for using the `serde` package name as the feature flag name. This makes it more clear that the feature is only enabling serde serialization and nothing else. This patch also cleans up the testing flags by removing the serialize flag for testing, as this should just always be tested, and also adds the syntax flag for future testing. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
28 lines
475 B
Rust
28 lines
475 B
Rust
// Copyright © 2022 The Radicle Git Contributors
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
//! Unit tests for radicle_surf::git and its submodules.
|
|
|
|
const GIT_PLATINUM: &str = "../data/git-platinum";
|
|
|
|
#[cfg(test)]
|
|
mod branch;
|
|
#[cfg(test)]
|
|
mod code_browsing;
|
|
#[cfg(test)]
|
|
mod commit;
|
|
#[cfg(test)]
|
|
mod diff;
|
|
#[cfg(test)]
|
|
mod last_commit;
|
|
#[cfg(test)]
|
|
mod namespace;
|
|
#[cfg(test)]
|
|
mod reference;
|
|
#[cfg(test)]
|
|
mod rev;
|
|
#[cfg(test)]
|
|
mod submodule;
|
|
#[cfg(test)]
|
|
mod threading;
|