-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
I encountered an issue when generating the Abstract Syntax Tree (AST) for the following C# and Python code snippets. The expected string values "hdfs:///"
and "/"
do not appear in the generated AST. Instead, the AST contains empty strings.
public class TestURIHandlerService
{
[Fact]
public void TestGetAuthorityWithScheme5()
{
var uriService = new URIHandlerService();
// ...
Assert.Equal("hdfs:///", uri.ToString());
// ...
Assert.Equal("/", uri.ToString());
}
}
class TestURIHandlerService:
def test_get_authority_with_scheme_5(self):
uri_service = URIHandlerService()
# ...
assert uri.to_string() == "hdfs:///"
# ...
assert uri.to_string() == "/"
Metadata
Metadata
Assignees
Labels
No labels