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: categories.rs
    path of file: ./repos/crates.io/src/tests
    
    the code of the file until where you have to start completion: use crates_io::schema::categories;
use crates_io_test_db::TestDatabase;
    
fn sync_adds_new_categories() {
    let test_db = TestDatabase::new();
    let mut conn = test_db.connect();

    ::crates_io::boot::categories::sync_with_connection(ALGORITHMS_AND_SUCH, &mut conn).unwrap();

    let categories = select_slugs(&mut conn);
    assert_eq!(categories, vec!["algorithms", "algorithms::such"]);
}