We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42e1710 commit 7e0f24fCopy full SHA for 7e0f24f
tests/CompareTest.php
@@ -74,8 +74,7 @@ public function testEqualOnlyVersions()
74
75
public function testEqualIgnoreBuild()
76
{
77
- $version = Version::parse('5.2.3-alpha.2+build.34');
78
- $this->assertTrue($version->isEqual('5.2.3-alpha.2'));
79
- $this->assertFalse($version->isEqual('5.2.3-alpha.5'));
+ $this->assertTrue(Version::equal('5.2.3-alpha.2+build.34', '5.2.3-alpha.2'));
+ $this->assertFalse(Version::equal('5.2.3-alpha.2+build.34', '5.2.3-alpha.5'));
80
}
81
0 commit comments