aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy_self_test
diff options
context:
space:
mode:
authorMaciej Skrzypkowski <m.skrzypkows@samsung.com>2016-04-13 12:18:13 +0200
committeraskeing <askeing@gmail.com>2016-04-17 04:12:54 +0900
commit22d991d4e0b39dd0cb8d05215e181ac8ef957aab (patch)
tree7d35bef04486b34dd00afc5ca240808c244e00c7 /python/tidy_self_test
parent88c94f285eca66c62678b8f847d6a4f38ea53e3c (diff)
downloadservo-22d991d4e0b39dd0cb8d05215e181ac8ef957aab.tar.gz
servo-22d991d4e0b39dd0cb8d05215e181ac8ef957aab.zip
Test for check_spec function, for tidy.py #9152
Diffstat (limited to 'python/tidy_self_test')
-rw-r--r--python/tidy_self_test/speclink.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/tidy_self_test/speclink.rs b/python/tidy_self_test/speclink.rs
new file mode 100644
index 00000000000..6c27a70a7d0
--- /dev/null
+++ b/python/tidy_self_test/speclink.rs
@@ -0,0 +1,9 @@
+/* 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/. */
+
+impl SpecLinkMethods for SpecLink {
+ fn Test(&self) -> f32 {
+ 0
+ }
+}