Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -260,7 +260,7 @@ pub fn test_find() {
|
||||
|
||||
#[test]
|
||||
pub fn test_long_running_block_bottom_padding() {
|
||||
warpui::r#async::block_on(async {
|
||||
galaxyui::r#async::block_on(async {
|
||||
let mut block = TestBlockBuilder::new().build();
|
||||
|
||||
block.precmd(Default::default());
|
||||
@@ -279,7 +279,7 @@ pub fn test_long_running_block_bottom_padding() {
|
||||
|
||||
// After the long running duration, the block should switch
|
||||
let duration = LONG_RUNNING_COMMAND_DURATION_MS + 1;
|
||||
warpui::r#async::Timer::after(Duration::from_millis(duration)).await;
|
||||
galaxyui::r#async::Timer::after(Duration::from_millis(duration)).await;
|
||||
|
||||
assert!(block.is_active_and_long_running());
|
||||
assert!(block.padding_bottom() == LONG_RUNNING_BOTTOM_PADDING_LINES.into_lines());
|
||||
@@ -508,7 +508,7 @@ pub fn test_block_emits_block_completed_event_for_in_band_command() {
|
||||
|
||||
events_rx.close();
|
||||
let block_completed_event =
|
||||
warpui::r#async::block_on(pin!(events_rx).find(|event| match event {
|
||||
galaxyui::r#async::block_on(pin!(events_rx).find(|event| match event {
|
||||
Event::BlockCompleted(event) => matches!(event.block_type, BlockType::InBandCommand),
|
||||
_ => false,
|
||||
}));
|
||||
@@ -1306,7 +1306,7 @@ fn test_top_level_command_with_aliases() {
|
||||
|
||||
#[test]
|
||||
fn test_mark_end_of_prompt_with_some_rows_in_flat_storage() {
|
||||
use warp_terminal::model::grid::Dimensions as _;
|
||||
use galaxy_terminal::model::grid::Dimensions as _;
|
||||
|
||||
let mut block = TestBlockBuilder::new()
|
||||
// Set the number of visible rows to 1, so that the first row of the
|
||||
|
||||
Reference in New Issue
Block a user