mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Package tidy
- Modified the testing commands - Added the requirements - Moved python/tidy/tests to python/tidy/servo_tidy_tests for self tidy tests
This commit is contained in:
parent
41b86870fa
commit
bfe460de9e
14 changed files with 7 additions and 4 deletions
37
python/tidy/servo_tidy_tests/rust_tidy.rs
Normal file
37
python/tidy/servo_tidy_tests/rust_tidy.rs
Normal file
|
@ -0,0 +1,37 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use app_units::Au;
|
||||
use azure::azure_hl::{AntialiasMode, Color,
|
||||
ColorPattern, CompositionOp};
|
||||
use euclid::size::Size2D;
|
||||
use azure::azure::AzIntSize;
|
||||
|
||||
use std;
|
||||
|
||||
mod paint_context;
|
||||
pub mod display_list;
|
||||
mod test::{
|
||||
};
|
||||
|
||||
extern crate webrender_traits;
|
||||
extern crate style_traits;
|
||||
|
||||
impl test {
|
||||
|
||||
fn test_fun(y:f32)->f32{
|
||||
let x=5;
|
||||
x = x-1;
|
||||
x = x*x;
|
||||
let z = match y {
|
||||
1 =>2,
|
||||
2 => 1,
|
||||
};
|
||||
let z = &Vec<T>;
|
||||
}
|
||||
|
||||
fn test_fun2(y : &String, z : &Vec<f32>) -> f32 {
|
||||
1
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue