Re-bless ui tests

This commit is contained in:
J Henry Waugh 2020-09-12 22:57:17 -05:00
parent b1f23ac3ed
commit 381e80179e
12 changed files with 24 additions and 24 deletions

View File

@ -4,8 +4,8 @@ error: conflicting setter
12 | #[rhai_fn(name = "foo", get = "foo", set = "bar")] 12 | #[rhai_fn(name = "foo", get = "foo", set = "bar")]
| ^^^^^^^^^^^ | ^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_getter_conflict.rs:23:8 --> $DIR/rhai_fn_getter_conflict.rs:23:8
| |
23 | if test_module::test_fn(n) { 23 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: conflicting getter
12 | #[rhai_fn(name = "foo", get = "foo", get = "bar")] 12 | #[rhai_fn(name = "foo", get = "foo", get = "bar")]
| ^^^^^^^^^^^ | ^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_getter_multiple.rs:23:8 --> $DIR/rhai_fn_getter_multiple.rs:23:8
| |
23 | if test_module::test_fn(n) { 23 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: property getter must return a value
13 | pub fn test_fn(input: &mut Point) { 13 | pub fn test_fn(input: &mut Point) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_getter_return.rs:23:5 --> $DIR/rhai_fn_getter_return.rs:23:5
| |
23 | test_module::test_fn(&mut n); 23 | test_module::test_fn(&mut n);
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: property getter requires exactly 1 argument
13 | pub fn test_fn(input: Point, value: bool) -> bool { 13 | pub fn test_fn(input: Point, value: bool) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_getter_signature.rs:23:8 --> $DIR/rhai_fn_getter_signature.rs:23:8
| |
23 | if test_module::test_fn(n, true) { 23 | if test_module::test_fn(n, true) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: conflicting index_get
12 | #[rhai_fn(name = "foo", index_get, index_get)] 12 | #[rhai_fn(name = "foo", index_get, index_get)]
| ^^^^^^^^^ | ^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_index_getter_multiple.rs:23:8 --> $DIR/rhai_fn_index_getter_multiple.rs:23:8
| |
23 | if test_module::test_fn(n) { 23 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: index getter must return a value
13 | pub fn test_fn(input: &mut Point, i: f32) { 13 | pub fn test_fn(input: &mut Point, i: f32) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_index_getter_return.rs:23:8 --> $DIR/rhai_fn_index_getter_return.rs:23:8
| |
23 | if test_module::test_fn(&mut n, 5.0) { 23 | if test_module::test_fn(&mut n, 5.0) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: index getter requires exactly 2 arguments
13 | pub fn test_fn(input: Point) -> bool { 13 | pub fn test_fn(input: Point) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_index_getter_signature.rs:23:8 --> $DIR/rhai_fn_index_getter_signature.rs:23:8
| |
23 | if test_module::test_fn(n) { 23 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: conflicting index_set
12 | #[rhai_fn(name = "foo", index_set, index_set)] 12 | #[rhai_fn(name = "foo", index_set, index_set)]
| ^^^^^^^^^ | ^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_index_setter_multiple.rs:23:8 --> $DIR/rhai_fn_index_setter_multiple.rs:23:8
| |
23 | if test_module::test_fn(n) { 23 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: index setter requires exactly 3 arguments
13 | pub fn test_fn(input: Point) -> bool { 13 | pub fn test_fn(input: Point) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_setter_index_signature.rs:23:8 --> $DIR/rhai_fn_setter_index_signature.rs:23:8
| |
23 | if test_module::test_fn(n) { 23 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: conflicting setter
12 | #[rhai_fn(name = "foo", set = "foo", set = "bar")] 12 | #[rhai_fn(name = "foo", set = "foo", set = "bar")]
| ^^^^^^^^^^^ | ^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_setter_multiple.rs:23:8 --> $DIR/rhai_fn_setter_multiple.rs:23:8
| |
23 | if test_module::test_fn(n) { 23 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: property setter must return no value
13 | pub fn test_fn(input: &mut Point, value: f32) -> bool { 13 | pub fn test_fn(input: &mut Point, value: f32) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_setter_return.rs:24:8 --> $DIR/rhai_fn_setter_return.rs:24:8
| |
24 | if test_module::test_fn(&mut n, 5.0) { 24 | if test_module::test_fn(&mut n, 5.0) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`

View File

@ -4,8 +4,8 @@ error: property setter requires exactly 2 arguments
13 | pub fn test_fn(input: Point) -> bool { 13 | pub fn test_fn(input: Point) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module` error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_setter_signature.rs:23:8 --> $DIR/rhai_fn_setter_signature.rs:23:8
| |
23 | if test_module::test_fn(n) { 23 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module` | ^^^^^^^^^^^ use of undeclared crate or module `test_module`