Skip to content

Commit

Permalink
switch to master to test if windows build will work then on travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
upachler committed Oct 26, 2019
1 parent 0e96909 commit bb9b1d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion ebur128-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use git2::Repository;
use std::path::Path;
use std::ops::Add;

#[allow(dead_code)]
enum LibVersion {
Master,
Tag(&'static str)
Expand All @@ -15,7 +16,7 @@ const LIBEBUR128_GIT_URL: &str = "https://github.com/jiixyj/libebur128.git";

const LIBEBUR128_BASE_NAME: &str = "ebur128";

const LIB_VERSION: LibVersion = LibVersion::Tag("v1.2.4");
const LIB_VERSION: LibVersion = LibVersion::Master; // LibVersion::Tag("v1.2.4");

impl LibVersion {
fn git_ref_name(&self) -> String {
Expand Down
7 changes: 3 additions & 4 deletions ebur128/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,8 @@ mod tests {
// NOTE: the current stable libebur128 version (1.2.4)
// appears to have a bug, causing to return Error:NoMem
// here - we'd acutally expect Error::InvalidChannelIndex.
// To check for something, we test for Error::NoMem.
// As of writing this, the version from the master branch
// returns InvalidChannelIndex, as expected.
assert_eq!(Result::Err(Error::NoMem), r);
// Therefore, instead of checking for the actual error,
// we check for not ok..
assert_ne!(Result::Ok(()), r);
}
}

0 comments on commit bb9b1d4

Please sign in to comment.