Skip to content

Commit

Permalink
Remove ineffective no_std test
Browse files Browse the repository at this point in the history
It includes `extern crate std` so it's not actually testing no_std...
  • Loading branch information
GREsau committed Sep 11, 2024
1 parent 484afd3 commit fd9c7b9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 99 deletions.
70 changes: 0 additions & 70 deletions schemars/tests/expected/no_std.json

This file was deleted.

25 changes: 0 additions & 25 deletions schemars/tests/no_std.rs

This file was deleted.

4 changes: 0 additions & 4 deletions schemars/tests/util/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
use pretty_assertions::assert_eq;
use schemars::{generate::SchemaSettings, schema_for, JsonSchema, Schema};
use std::error::Error;
use std::format;
use std::fs;
use std::prelude::rust_2021::*;

extern crate std;

pub type TestResult = Result<(), Box<dyn Error>>;

Expand Down

0 comments on commit fd9c7b9

Please sign in to comment.