Suppress unused warnings and clean up workspace
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
use roto_codegen::generator::generate_rust_code;
|
||||
use roto_codegen::google::protobuf::descriptor::{
|
||||
DescriptorProto, FieldDescriptorProto, FileDescriptorSet,
|
||||
};
|
||||
use std::collections::HashMap;
|
||||
|
||||
#[test]
|
||||
fn test_oneof_generation() {
|
||||
let mut set = FileDescriptorSet::new(b"").unwrap(); // Simplified for testing
|
||||
|
||||
// In a real scenario, we'd build up a FileDescriptorSet from a proto.
|
||||
// For this unit test, we'll manually construct a DescriptorProto that has a oneof.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user