You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cockroachdb.rs
    path of file: ./repos/prisma-engines/schema-engine/sql-introspection-tests/tests/enums
    
    the code of the file until where you have to start completion: use barrel::types;
use indoc::indoc;
use quaint::prelude::Queryable;
use sql_introspection_tests::{test_api::*, TestResult};
use test_macros::test_connector;

#[test_connector(tags(CockroachDb), capabilities(Enums))]
async fn a_table_with_enums(api: &mut TestApi) -> TestResult {
    api.database()
        .raw_cmd(r#"CREATE TYPE "color" AS ENUM ('black', 'white')"#)
        .await?;

    api.database()
        .raw_cmd(r#"CREATE TYPE "color2" AS ENUM ('black2', 'white2')"#)
        .await?;

    api.barrel()
        .execute(move |migration| {
            migration.create_table("Book", move |t| {
                t.add_column("id", types::primary());

                let (typ1, typ2) = ("color", "color2");

                t.add_column("color", types::custom(typ1).nullable(false));
                t.add_column("color2", types::custom(typ2).nullable(false));
            });
        })
        .await?;

    let dm = r#"
        model Book {
            id      BigInt     @id @default(autoincrement())
            color   color
            color2  color2
        }

        enum color {
            black
            white
        }

        enum color2 {
     
    
async fn a_table_enums_should_return_alphabetically_even_when_in_different_order(api: &mut TestApi) -> TestResult {
    api.database()
        .raw_cmd(r#"CREATE TYPE "color2" AS ENUM ('black2', 'white2')"#)
        .await?;

    api.database()
        .raw_cmd(r#"CREATE TYPE "color" AS ENUM ('black', 'white')"#)
        .await?;

    api.barrel()
        .execute(move |migration| {
            migration.create_table("Book", move |t| {
                t.add_column("id", types::primary());

                let (typ1, typ2) = ("color", "color2");

                t.add_column("color", types::custom(typ1).nullable(false));
                t.add_column("color2", types::custom(typ2).nullable(false));
            });
        })
        .await?;

    let dm = format!(
        r#"
        model Book {{
            id      BigInt     @id @default(autoincrement())
            color   {1}
            color2  {0}
        }}

        enum {1} {{
            black
            white
        }}

        enum {0} {{
            black2
            white2
        }}
    "#,
        "color2", "color"
    );

    for _ in 0..4 {
        let result = api.introspect().await?;
        api.assert_eq_datamodels(&dm, &result);
    }

    Ok(())
}