rust-web-server 17.0.0

rust-web-server (rws) is a static content web-server written in Rust
1
2
3
4
5
6
7
8
9
use crate::json::array::RawUnprocessedJSONArray;

#[test]
fn json_array_whitespace_after_array() {
    let array = " [ 123, 456, 6,7 ,8 ] ";
    let actual = RawUnprocessedJSONArray::split_into_vector_of_strings(array.to_string()).unwrap();
    let expected = vec!["123", "456", "6", "7", "8"];
    assert_eq!(actual, expected);
}