Skip to content

Commit

Permalink
fix typo in tests/write.rs
Browse files Browse the repository at this point in the history
Just a minor fix
  • Loading branch information
realeinherjar authored and andy128k committed Aug 18, 2023
1 parent 070b12b commit f1f94bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ fn write_itunes() {

#[test]
fn write_itunes_namespace() {
let itunes_extention = ITunesChannelExtensionBuilder::default()
let itunes_extension = ITunesChannelExtensionBuilder::default()
.author(Some("author".to_string()))
.build();
let channel = rss::ChannelBuilder::default()
.title("Channel Title")
.link("http://example.com")
.description("Channel Description")
.itunes_ext(itunes_extention)
.itunes_ext(itunes_extension)
.build();

let xml = String::from_utf8(channel.pretty_write_to(Vec::new(), b' ', 4).unwrap()).unwrap();
Expand Down

0 comments on commit f1f94bb

Please sign in to comment.