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: bzl_version_test.rs
    path of file: ./repos/rules_rust/test/bzl_version
    
    the code of the file until where you have to start completion: //! A test to ensure the rules_rust bzlmod versions match the standard versions.

use runfiles::Runfiles;

fn parse_module_bazel_version(text: &str) -> String {
    let mut found_module = false;
    for line in text.spl
    
fn parse_module_bazel_version(text: &str) -> String {
    let mut found_module = false;
    for line in text.split('\n') {
        if found_module {
            assert!(!line.ends_with(')'), "Failed to parse version");
            if let Some((param, value)) = line.rsplit_once(" = ") {
                if param.trim() == "version" {
                    return value.trim().trim_matches(',').trim_matches('"').to_owned();
                }
            }
        } else if line.starts_with("module(") {
            found_module = true;
            continue;
        }
    }
    panic!("Failed to find MODULE.bazel version");
}