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: tests.rs
    path of file: ./repos/kcl/kclvm/tools/src/format
    
    the code of the file until where you have to start completion: use super::*;
use kclvm_parser::parse_file_force_errors;
use pretty_assertions::assert_eq;
use walkdir::WalkDir;

const FILE_INPUT_SUFFIX: &str = ".input";
const FILE_OUTPUT_SUFFIX: &str = ".golden";
const TEST_CASES: &[&str; 22] = &[
    "assert",
    "check",
    "blankline",
    "breakline",
    "codelayout",
    "collection_if",
    "comment",
    "comp_for",
    "empty",
    "
    
fn test_format_integration_konfig() -> Result<()> {
    let konfig_path = Path::new(".")
        .canonicalize()?
        .parent()
        .unwrap()
        .parent()
        .unwrap()
        .join("test")
        .join("integration")
        .join("konfig");
    let files = get_files(konfig_path, true, true, ".k");
    for file in &files {
        // Skip test and hidden files.
        if file.ends_with("_test.k") || file.starts_with('_') {
            continue;
        }
        assert!(
            parse_file_force_errors(file, None).is_ok(),
            "file {} test format failed",
            file
        );
        let src = std::fs::read_to_string(file)?;
        let (formatted_src, _) = format_source("", &src, &Default::default())?;
        let parse_result = parse_file_force_errors("test.k", Some(formatted_src.clone() + "\n"));
        assert!(
            parse_result.is_ok(),
            "file {} test format failed, the formatted source is\n{}\n the parse error is\n{}",
            file,
            formatted_src,
            parse_result.err().unwrap(),
        );
    }
    Ok(())
}