mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-20 08:01:46 +00:00
Add Chinese responsibility summaries to every backend Rust source, test, and build script. Remove sentence-ending periods from comments while preserving meaningful dots in URLs, versions, identifiers, and examples. Keep generated SDK documentation in sync with its contract generator, group middleware module declarations and exports, and record the comment conventions in the development skill. Validated with Rustfmt, strict Clippy, backend tests, documentation tests, and skill validation. Database-backed integration cases were skipped because dedicated PostgreSQL and Redis test services were not configured. Co-authored-by: Codex <noreply@openai.com>
9 lines
269 B
Rust
9 lines
269 B
Rust
//! 验证上游发送状态保留发送不确定与已发送的区别
|
|
|
|
use gateway_core::upstream::UpstreamSendState;
|
|
|
|
#[test]
|
|
fn upstream_send_state_should_keep_ambiguous_distinct_from_sent() {
|
|
assert_ne!(UpstreamSendState::Ambiguous, UpstreamSendState::Sent);
|
|
}
|