~repos /tide-jsx

#rust#proc-macro#jsx

git clone https://pyrossh.dev/repos/tide-jsx.git

Tide + JSX


66cdde18 Naitik Shah

5 years ago
remove unnecessary pub visibility for tests (#29)
Files changed (1) hide show
  1. render_tests/src/lib.rs +4 -4
render_tests/src/lib.rs CHANGED
@@ -5,7 +5,7 @@ fn ui() {
5
5
  }
6
6
 
7
7
  #[test]
8
- pub fn works_with_dashes() {
8
+ fn works_with_dashes() {
9
9
  use pretty_assertions::assert_eq;
10
10
 
11
11
  let value = render::html! { <div data-id={"myid"} /> };
@@ -13,7 +13,7 @@ pub fn works_with_dashes() {
13
13
  }
14
14
 
15
15
  #[test]
16
- pub fn works_with_raw() {
16
+ fn works_with_raw() {
17
17
  use pretty_assertions::assert_eq;
18
18
  use render::{html, raw};
19
19
 
@@ -25,7 +25,7 @@ pub fn works_with_raw() {
25
25
  }
26
26
 
27
27
  #[test]
28
- pub fn works_with_raw_ident() {
28
+ fn works_with_raw_ident() {
29
29
  use pretty_assertions::assert_eq;
30
30
 
31
31
  let actual = render::html! {
@@ -36,7 +36,7 @@ pub fn works_with_raw_ident() {
36
36
  }
37
37
 
38
38
  #[test]
39
- pub fn element_ordering() {
39
+ fn element_ordering() {
40
40
  use pretty_assertions::assert_eq;
41
41
  use render::html;
42
42