This website requires JavaScript.
Explore
Help
Sign in
mirror
/
rtic
Watch
1
Star
0
Fork
You've already forked rtic
0
mirror of
https://github.com/rtic-rs/rtic.git
synced
2024-12-25 19:39:32 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
e31ee3fa11
rtic
/
tests
/
tests.rs
8 lines
107 B
Rust
Raw
Normal View
History
Unescape
Escape
CI: replace compiletest-rs with trybuild We use compiletest to run compile-fail tests but compiletest depends on compiler internals so it breaks every now and then and requires nightly. With trybuild we can also run compile-fail tests but it works on stable and it already has reached version 1.0
2019-11-07 01:05:37 +01:00
use
trybuild
::
TestCases
;
rtfm-syntax refactor + heterogeneous multi-core support
2019-06-13 23:56:59 +02:00
#[
test
]
fn
ui
(
)
{
CI: replace compiletest-rs with trybuild We use compiletest to run compile-fail tests but compiletest depends on compiler internals so it breaks every now and then and requires nightly. With trybuild we can also run compile-fail tests but it works on stable and it already has reached version 1.0
2019-11-07 01:05:37 +01:00
let
t
=
TestCases
::
new
(
)
;
Update the tests file to find the tests
2021-01-21 10:17:33 +01:00
t
.
compile_fail
(
"
ui/*.rs
"
)
;
rtfm-syntax refactor + heterogeneous multi-core support
2019-06-13 23:56:59 +02:00
}
Reference in a new issue
Copy permalink