mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-15 01:25:40 -05:00
22 lines
605 B
C#
22 lines
605 B
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
using System;
|
|
using Microsoft.SqlTools.ServiceLayer.DacFx;
|
|
using Xunit;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.UnitTests.DacFx
|
|
{
|
|
public class DacFxTests
|
|
{
|
|
[Fact]
|
|
public void ExtractParseVersionShouldThrowExceptionGivenInvalidVersion()
|
|
{
|
|
string invalidVersion = "invalidVerison";
|
|
Assert.Throws<ArgumentException>(() => ExtractOperation.ParseVersion(invalidVersion));
|
|
}
|
|
}
|
|
}
|