Use crate:: for assert_linked instead of super::super::

PiperOrigin-RevId: 673847235
pull/18285/head
Derek Benson 2 months ago committed by Copybara-Service
parent cb6b460cc9
commit 4c38e117ac
  1. 2
      rust/upb/arena.rs
  2. 2
      rust/upb/array.rs
  3. 2
      rust/upb/map.rs
  4. 2
      rust/upb/message.rs
  5. 2
      rust/upb/mini_table.rs
  6. 2
      rust/upb/text.rs
  7. 2
      rust/upb/wire.rs

@ -208,7 +208,7 @@ mod tests {
#[gtest] #[gtest]
fn assert_arena_linked() { fn assert_arena_linked() {
use super::super::assert_linked; use crate::assert_linked;
assert_linked!(upb_Arena_New); assert_linked!(upb_Arena_New);
assert_linked!(upb_Arena_Free); assert_linked!(upb_Arena_Free);
assert_linked!(upb_Arena_Malloc); assert_linked!(upb_Arena_Malloc);

@ -33,7 +33,7 @@ mod tests {
#[gtest] #[gtest]
fn assert_array_linked() { fn assert_array_linked() {
use super::super::assert_linked; use crate::assert_linked;
assert_linked!(upb_Array_New); assert_linked!(upb_Array_New);
assert_linked!(upb_Array_Size); assert_linked!(upb_Array_Size);
assert_linked!(upb_Array_Set); assert_linked!(upb_Array_Set);

@ -55,7 +55,7 @@ mod tests {
#[gtest] #[gtest]
fn assert_map_linked() { fn assert_map_linked() {
use super::super::assert_linked; use crate::assert_linked;
assert_linked!(upb_Map_New); assert_linked!(upb_Map_New);
assert_linked!(upb_Map_Size); assert_linked!(upb_Map_Size);
assert_linked!(upb_Map_Insert); assert_linked!(upb_Map_Insert);

@ -310,7 +310,7 @@ mod tests {
#[gtest] #[gtest]
fn assert_message_linked() { fn assert_message_linked() {
use super::super::assert_linked; use crate::assert_linked;
assert_linked!(upb_Message_New); assert_linked!(upb_Message_New);
assert_linked!(upb_Message_Clear); assert_linked!(upb_Message_Clear);
assert_linked!(upb_Message_ClearBaseField); assert_linked!(upb_Message_ClearBaseField);

@ -54,7 +54,7 @@ mod tests {
#[gtest] #[gtest]
fn assert_mini_table_linked() { fn assert_mini_table_linked() {
use super::super::assert_linked; use crate::assert_linked;
assert_linked!(upb_MiniTable_FindFieldByNumber); assert_linked!(upb_MiniTable_FindFieldByNumber);
assert_linked!(upb_MiniTable_GetFieldByIndex); assert_linked!(upb_MiniTable_GetFieldByIndex);
assert_linked!(upb_MiniTable_SubMessage); assert_linked!(upb_MiniTable_SubMessage);

@ -72,7 +72,7 @@ mod tests {
#[gtest] #[gtest]
fn assert_text_linked() { fn assert_text_linked() {
use super::super::assert_linked; use crate::assert_linked;
assert_linked!(upb_DebugString); assert_linked!(upb_DebugString);
} }
} }

@ -130,7 +130,7 @@ mod tests {
#[gtest] #[gtest]
fn assert_wire_linked() { fn assert_wire_linked() {
use super::super::assert_linked; use crate::assert_linked;
assert_linked!(upb_Encode); assert_linked!(upb_Encode);
assert_linked!(upb_Decode); assert_linked!(upb_Decode);
} }

Loading…
Cancel
Save