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_empty_array() {
    let array = " [  ] ";
    let actual = RawUnprocessedJSONArray::split_into_vector_of_strings(array.to_string()).unwrap();
    let expected : Vec<String> = vec![];
    assert_eq!(actual, expected);
}